Created
January 15, 2014 08:01
-
-
Save allanlei/8432471 to your computer and use it in GitHub Desktop.
Activate Django shell in AWS EB
This file contains 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
# Activate the virtualenv | |
source /opt/python/run/venv/bin/activate | |
# Then either: | |
django-admin.py shell --settings=MYAPP.settings | |
# or if you have a manage.py file in the top level directory of your app: | |
cd /opt/python/current/app | |
python manage.py shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment