Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # www.fduran.com
- # django, virtualenv, pip, apache
- apt-get install python-setuptools python-dev build-essential
- easy_install -U pip
- virtualenv --no-site-packages venv
- source venv/bin/activate
- pip install django
- # other packages:
- pip install South python-memcached
- pip freeze > requirements.txt
- # configure apache virtualhost file
- # create django app
- # set wsgi path : add to apache.wsgi file:
- import site
- site.addsitedir('/path/to/venv/lib/python2.6/site-packages')
- # .gitignore
- venv
- .pyc
- requirements.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement