Last active
January 15, 2016 02:17
-
-
Save bmsleight/c88c01ab51a98c21ed38 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
openshift | |
Make django project | |
python3 -m venv myvenv | |
. myvenv/bin/activate | |
pip install django==1.8 | |
git clone ssh://[email protected]/~/git/splendidsnap.git/ | |
export DEBUG=True | |
cd splendidsnap/wsgi/myproject/ | |
#SITE_ID = 1 | |
python manage.py migrate | |
python manage.py runserver 8080 | |
rhc env set DEBUG=True -a splendidsnap | |
rhc ssh -a splendidsnap | |
python app-deployments/2016-01-14_20-24-12.502/repo/wsgi/myproject/manage.py makemigrations | |
python app-deployments/2016-01-14_20-24-12.502/repo/wsgi/myproject/manage.py migrate | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment