Minor README amendments

This commit is contained in:
Ben Goldsworthy 2020-08-25 17:44:06 +01:00
parent 7485fdd291
commit 72d11472da

View file

@ -59,13 +59,11 @@ To start the minion itself, run:
## Importing Ward Data ## Importing Ward Data
To import ward data, download CSV(s) from [here](https://www.doogal.co.uk/PostcodeDownloads.php) and then run the following command: To import ward data:
```shell script 1. Download CSV(s) from [here](https://www.doogal.co.uk/PostcodeDownloads.php)
./script/pear-local_loop minion job \ 1. Run the following command:
--enqueue 'csv_postcode_import' \ -- `./script/pear-local_loop minion job --enqueue 'csv_postcode_import' --args '[ "⟨ path to CSV ⟩ ]'`
--args '[ "⟨ path to CSV ⟩ ]'
```
## Setting Up Entity Postcodes ## Setting Up Entity Postcodes
@ -110,8 +108,8 @@ needed initially.
- ***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 Production instructions above) 1. Import ward data (see [instructions](#importing-ward-data) above)
1. Set up postcodes (see Production intructions above) 1. Set up postcodes (see [intructions](#setting-up-entity-postcodes) above)
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.