- python-2.7
- virtualenv
mkdir mysite && cd mystie virtualenv --distribute --no-site-packages venv .venv/bin/activate pip install Django psycopg2 dj-database-url django-admin.py startproject hellodjango . python manage.py runserver # to see if it's working #### The following is platform sepecific pip freeze > requirements.txt # touch Procfile and edit git init git add git commit -m "first commit" # deploy
No comments:
Post a Comment