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

This commit is contained in:
Nelson Jovel 2024-02-23 10:37:13 -08:00
parent b6de3349d6
commit b5efd7b3e3

View file

@ -144,6 +144,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