Add a way to seed only lowell schools

This commit is contained in:
rebuilt 2022-12-03 10:22:23 -08:00
parent fc9e73f656
commit d49cf918ac
9 changed files with 293 additions and 208 deletions

View file

@ -48,6 +48,14 @@ bundle install
bundle exec rake db:create db:schema:load db:seed
```
Or if you only want to seed Lowell schools
```bash
bundle install
bundle exec rake db:create db:schema:load
bundle exec rake data:seed_only_lowell
```
Install the javascript dependencies
```bash
@ -131,6 +139,13 @@ $ heroku run:detached -a mciea-beta bundle exec rake data:load_survey_responses
$ heroku run:detached -a mciea-dashboard bundle exec rake data:load_survey_responses
```
Or if you only want to load data for Lowell
```bash
# locally
$ bundle exec rake data:load_survey_responses_for_lowell
```
For convenience, you can use the following script for loading data on Heroku:
```bash