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

rpp-main
Nelson Jovel 2 years ago
parent d2e1be948d
commit 40dac402ee

@ -138,6 +138,8 @@ Or if you want to load data from a specific directory
```bash ```bash
# locally # locally
SFTP_PATH=/data/survey_responses/2022_23 bundle exec rake data:load_survey_responses_from_path 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 # 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 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