Skip to content

Latest commit

 

History

History
64 lines (41 loc) · 1.05 KB

README.md

File metadata and controls

64 lines (41 loc) · 1.05 KB

Set Up and running your code:

source <path_to_venv>/bin/activate
  • Install all the requirements.
cd <path_of_project>
pip install -r requirements.txt
  • Create a settings file
cp twitter_analytics/settings/local.py twitter_analytics/settings/<your_name>.py
export DJANGO_SETTINGS_MODULE=twitter_analytics.settings.<your_name>
  • Sync db
python manage.py syncdb
  • Run migrations
python manage.py migrate
  • Create admin (if you do not have one)
python manage.py createsuperuser
  • Run server!
python manage.py runserver 0.0.0.0:8081

Deployment Instructions:

fab -H cmpe273.nagkumar.com -u cmpe273 deploy