Add environment file step
This commit is contained in:
parent
50a8139cfa
commit
71de03b449
1 changed files with 2 additions and 1 deletions
|
@ -104,11 +104,12 @@ needed initially.
|
||||||
- `./script/deploy_db install -c 'dbi:SQLite:dbname=foodloop.db'`
|
- `./script/deploy_db install -c 'dbi:SQLite:dbname=foodloop.db'`
|
||||||
1. Set up the development users:
|
1. Set up the development users:
|
||||||
- `./script/pear-local_loop dev_data --force`
|
- `./script/pear-local_loop dev_data --force`
|
||||||
- ***DO NOT RUN ON PROD.***
|
- **DO NOT RUN ON PROD.**
|
||||||
1. Start the minion:
|
1. Start the minion:
|
||||||
- `./script/pear-local_loop minion worker`
|
- `./script/pear-local_loop minion worker`
|
||||||
1. Import ward data (see [instructions](#importing-ward-data) above)
|
1. Import ward data (see [instructions](#importing-ward-data) above)
|
||||||
1. Set up postcodes (see [instructions](#setting-up-entity-postcodes) above)
|
1. Set up postcodes (see [instructions](#setting-up-entity-postcodes) above)
|
||||||
|
1. Create an `environment.dev.ts` file in `src/environments` with your API keys
|
||||||
1. Start the application:
|
1. Start the application:
|
||||||
- `morbo script/pear-local_loop -l http://*:3000`
|
- `morbo script/pear-local_loop -l http://*:3000`
|
||||||
- You can modify the host and port as needed.
|
- You can modify the host and port as needed.
|
||||||
|
|
Reference in a new issue