doc: document the alternate valid command for specifying what folder to load from

speedup-admin-data
Nelson Jovel 2 years ago
parent b6de3349d6
commit b5efd7b3e3

@ -144,6 +144,8 @@ Or if you want to load data from a specific directory
```bash
# locally
SFTP_PATH=/data/survey_responses/2022_23 bundle exec rake data:load_survey_responses_from_path
# You can also swap the order of the commands and environment variables
bundle exec rake data:load_survey_responses_from_path SFTP_PATH=/data/survey_responses/2022_23
# on heroku staging environment
heroku run:detached -a mciea-beta SFTP_PATH=/data/survey_responses/2022_23 bundle exec rake data:load_survey_responses_from_path

Loading…
Cancel
Save