-
Notifications
You must be signed in to change notification settings - Fork 0
staging mongo flushed
Anton Podviaznikov edited this page Oct 9, 2015
·
9 revisions
mongo is wiped :(
Add hellorunnable and codenow to whitelist model
- go to runnable.io mongo
- in terminal now we need to whitelist hello runnable
mongo alpha
db.userwhitelists.insert({"name":"HelloRunnable","lowerName":"hellorunnable","allowed":true})
- also add codenow to the whitelist:
db.userwhitelists.insert({"name":"CodeNow","lowerName":"codenow","allowed":true})
Now we need to seed hello runnable inside db:
- ensure staging services are up (mongo, redis, neo4j, api, mavis, ...etc)
- log out of github now. we need to log in with hello runnable account next so we cant be logged in with your user
- go to master
runnable-angular
content domain url https://runnable-angular-staging-codenow.runnableapp.com/ - then click login on the home page of staging runnable
- login as
HelloRunnable
(ask #backend for password) - now logout of
HelloRunnable
on runnable and github
Time to run the seed scripts:
- ensure
mavis
has docks registered - go to api on runnable.io
FULL_API_DOMAIN=http://api-staging-codenow.runnableapp.com NODE_ENV=staging NODE_PATH=./lib node scripts/seed-version.js