127.0.0.1 app.lifescope.io api.lifescope.io xr.lifescope.io static.lifescope.io
Config in lifescope-api
sudo nginx -p . -c nginx.conf
Add node config files for production variables.
Such as:
/config/dev.json
or
/config/prod.json
{
"bitscoop": {
"api_key": "[key]"
},
"mongodb": {
"address": "mongodb://[user]:[password]@[url]/live?ssl=true&replicaSet=[lifescope-shards]authSource=admin"
}
}
RUN APP
NODE_ENV=dev babel-node server.js --inspect-brk=localhost:3333
In Chrome go to: chrome://inspect/#devices
Configure > Target: apl.lifescope.io:3333
Example on glitch:
https://apl.lifescope.io:3333/gql-p/