DevTech101

DevTech101

Install django

easy_install pip (if not installed yet)
mkdir django_test ; cd django_test 
pip install virtualenv
virtualenv vm_test1 ; cd vm_test1
. bin/activate
pip install django
pip freeze # list packages

Create first project

django-admin startproject my_project ; cd my_project
# Start the server 
python manage.py runserver

Install some more packages

pip install south django-registration stripe

Enable django auth system

python manage.py syncdb

Create an app

python manage.py startapp signups

Migrate and update

python manage.py makemigrations
python manage.py migrate
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: