Created
June 10, 2016 05:39
-
-
Save ajhyndman/8fbe89447b7ec518547397ec41df90c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| master_is_broken() { | |
| pip install -r requirements.txt | |
| pip install -r requirements_dev.txt | |
| ./manage.py migrate | |
| ./manage.py migrate --database=problems | |
| psql mathspace_default -c "GRANT ALL ON schema public TO mathspace;" | |
| psql mathspace_problems -c "GRANT ALL ON schema public TO mathspace;" | |
| nvm use | |
| rm -r node_modules | |
| npm install | |
| echo "If this doesn't work, A. restart all your tabs, B. you might need a new database snapshot." | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment