- Create openode.io new account, new instance
- Go to your local repo in cmd/terminal
npm install openode --g
openode
- Fill in user/password/server info.
- Create a Postgre SQL instance somewhere (ElephantSQL works)
- openode set-config MAX_BUILD_DURATION 400
- openode postgresql local reference
- In docker
- For a CLEAN SLATE
openode erase-all; openode deploy
- To add files and reload
openode sync-n-reload
- To run db migration (initial setup):
npm run dbreload
- To run db migration on openode:
openode cmd www "npm run dbreload"
`
9/25/2020 - openode removed dockerfile and thus local Postgre support. Modified.
DO NOT use openode deploy
once running.
Postgresql will be running and the deploy can corrupt data. Instead, use openode stop; openode deploy
or openode sync-n-reload
to safely change container.