mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Add a way to seed only lowell schools
This commit is contained in:
parent
fc9e73f656
commit
d49cf918ac
9 changed files with 293 additions and 208 deletions
15
README.md
15
README.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue