Created
October 19, 2015 21:26
-
-
Save niftynei/5bfdcd285b598ec16189 to your computer and use it in GitHub Desktop.
Django Deploy Steps
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
0. # make a snapshot of prod in EC2. jic. | |
1. # rsync your file from staging | |
2. sudo django-admin.py collectstatic -v0 --noinput | |
3. sudo django-admin.py syncdb | |
4. sudo vim webapp/graphite/local_settings.py ## TODO: move stuff to env vars | |
5. sudo apachectl -k stop | |
6. sudo apachectl -k start | |
7. # delete your snapshot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment