All Projects → likecoin → puttyimages-web

likecoin / puttyimages-web

Licence: GPL-3.0 License
Website for images adopted Like protocol.

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to puttyimages-web

likecoin-wordpress
The WordPress plugin to integrate LikeCoin - Decentralized Publishing Infrastructure.
Stars: ✭ 19 (+11.76%)
Mutual labels:  likecoin, likechain
likecoin-tx-poll
Firestore based service of polling eth status and resending tx
Stars: ✭ 13 (-23.53%)
Mutual labels:  likecoin
like-co
Official site of LikeCoin - Decentralized Publishing Infrastructure. https://like.co
Stars: ✭ 59 (+247.06%)
Mutual labels:  likecoin
likecoin-button
Every Like is a reward. Turn your Likes into actual income now.
Stars: ✭ 18 (+5.88%)
Mutual labels:  likecoin
dao
Documentation for Liker Land and LikeCoin.
Stars: ✭ 20 (+17.65%)
Mutual labels:  likecoin
likecoin-app
Liker Land App - https://liker.land/getapp
Stars: ✭ 42 (+147.06%)
Mutual labels:  likecoin
likecoin-contracts
Token contracts of Like Coin
Stars: ✭ 22 (+29.41%)
Mutual labels:  likecoin

puttyimages CircleCI codecov Greenkeeper badge

Puttyimegs is an open stock image DApp that live within the LikeCoin ecosystem.

Development Setup

The suggested way of development environment is docker based. This guide will assume you have Docker Community Edition 18+ installed. Please download at https://store.docker.com and follow the installation instruction.

After you setup docker, fun the following command to setup the docker image and basic DB schema. Also kick start the docker container for development.

# Build the docker images, run it for the first time or you have dependency
# updates
docker-compose build

# Run the DB migration and reseed the DB for the first time run or after you
# pull an update.
docker-compose run --rm nuxt npm run sequelize db:migrate
docker-compose run --rm nuxt npm run sequelize db:seed:all

# Kick of the development setup
docker-compose up

Local files are mount into docker you can modify file in your fs and will hot reload.

Env Setup

# For development
export LIKECHAIN_HOST=http://x.x.x.x
export PROVIDER_ADDRESS=0x
export PROVIDER_PRIVATE_KEY=xxx
docker-compose up

# For deployment
kubectl delete secret app-secret # remove old secret
kubectl create secret generic app-secret \
  --from-literal=LIKECHAIN_HOST=http://x.x.x.x \
  --from-literal=PROVIDER_ADDRESS=0x \
  --from-literal=PROVIDER_PRIVATE_KEY=xxx

Test

make test

Continuous Integration

Oursky hosts a staging continuous integration pipeline for fast review. The deployed endpoint is https://puttyimages.pandawork.com. The endpoint is in sync with the master branch of Oursky fork via Travis-CI. You can send PR to the branch if you want your changes reflect on the review endpoint.

The continuous integration setup is assuming an kubernetes environment. If you want to deploy your own instances, you can checkout the ./k8s folder for details.

Production

docker-compose -f docker-compose.yml -f docker-compose.production.yml --project-name puttyimages_prod build
docker-compose -f docker-compose.yml -f docker-compose.production.yml --project-name puttyimages_prod up

For detailed explanation on how things work, checkout the Nuxt.js docs.

Backpack

We use backpack to watch and build the application, so you can use the latest ES6 features (module syntax, async/await, etc.).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].