dockerwithdocker-compose
First clone the repository and enter it
To start containers use docker-compose up
To stop containers use docker-compose down
Want to hide messy logs? Use docker-compose up -d
To update the backend run
git pull
docker-compose up --build
GraphQL API runs on http://localhost:3000/dev/graphql
Adminer - a tool to explore the database runs on http://localhost:8080
yarn- for conflict resolutions
- Install dependencies
npm run build:localornpm_config_build_from_source=true yarn - Edit sample config files
serverless-sample.yml->serverless.ymlenv-sample.yml->env.yml
- Change
dbtolocalhostinenv.yml - Run
npm run dev. It starts the database andAdminerusing docker-compose and startsserverless offlinewithnodemonfor reloading - Run
npm run migration:runto create empty database tables