Last active
August 29, 2015 14:03
-
-
Save amyrlam/231187732c2bdc8873f8 to your computer and use it in GitHub Desktop.
git, south migrations, heroku etc.
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
. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TO PULL LATEST IN GITHUB WHEN NOTHING MODIFIED LOCALLY
git pull
FOR RON TO ADD FILES TO GITHUB WHEN WE ARE NOT IN SYNC
git add .
git commit -a -m "your message"
git pull --rebase
git push origin master
TO RUN LOCAL SOUTH MIGRATIONS
be in first www_dev directory
python manage.py migrate organizations --settings=www_dev.settings.local
TO PUSH TO HEROKU
git push heroku master
TO RUN HEROKU SOUTH MIGRATIONS
be in parent WorldWideWomen_Amy directory
heroku run python www_dev/manage.py migrate organizations
NOT USED OFTEN, BUT IF SOMETHING IS CHANGED IN REQUIREMENTS.TXT
be in parent WorldWideWomen_Amy directory
pip install -r requirements.txt