Django 1.5.4 专题27 pinax

一.Account Starter Project

运行之前,判断是否可以import bz2 否则apt-get install libbz2-dev bzip2 重新pythonbrew install 2.7.5

virtualenv mysiteenv
source mysiteenv/bin/activate
pip install Django==1.5.5
django-admin.py startproject --template=https://github.com/pinax/pinax-project-account/zipball/master mysite
cd mysite
pip install pysqlite
pip install pinax_theme_bootstrap
pip install -r requirements.txt
apt-get install libpq-dev 
python manage.py syncdb
python manage.py runserver 0.0.0.0:80


你可能感兴趣的:(django,pinax)