$ npm install
$ npm start // (data fetch for `.env.development`)
$ npm run build
$ npm run release
All Options are optional and default to local setup
node ./bin/www --db-name=<job queue db name> --db-host=<host address> --db-user=<sb user name> --db-password=<db password> --db-port=<db port> --db-certfile=<db certificate file>
- Find IP and add change DB_HOST in .env -
sudo ip addr show docker0
- run -
docker-compose up --scale consumer=3 --scale ui=1 --scale publisher=1
- Locate rjq-ui IP -
docker inspect rjqui_ui_1 | grep IPAddress
(:3000) - Locate RethinkDB admin ui IP -
docker inspect rjqui_ui_1 | grep IPAddress
(:8080)
Based on:
- install nanobox
nanobox run
,nanobox run dry-run
,nanobox remote add app-name
,nanobox deploy