mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
Create scripts for common admin tasks
This commit is contained in:
parent
b4f6daa406
commit
1699d65cc0
2 changed files with 18 additions and 0 deletions
11
scripts/load_survey_responses_on_heroku.sh
Executable file
11
scripts/load_survey_responses_on_heroku.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
set -eux
|
||||
|
||||
git rev-parse --show-toplevel
|
||||
|
||||
APP=$1
|
||||
|
||||
heroku login
|
||||
|
||||
heroku run:detached -a mciea-$APP bundle exec rake data:load_survey_responses
|
||||
7
scripts/ship-it.sh
Executable file
7
scripts/ship-it.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
set -eux
|
||||
|
||||
git rev-parse --show-toplevel
|
||||
|
||||
bundle exec rake && git push
|
||||
Loading…
Add table
Add a link
Reference in a new issue