The Django Trial

**This is my personal note along with my studying. I am sorry that I am not really helpful if you look for some tutorials. I use my blog to memorise my techy archives.

I started to study Django more deeply since I use Python for data analysing and I may be able to build an app to visualise graphs along with those results.

I am currently having anaconda python for setups. I don’t know why I don’t have the anaconda python as default-it used to be. Hope to find a way to default it or…perhaps initialise my Mac in the future :/

Once again, to have my anaconda as default,


export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH"

export PATH="$HOME/anaconda/bin:$PATH"

After setting python 2.7.9, I made my virtual environment.


virtualenv lwc

cd lwc

source bin/activate

pip install django==1.6.5

django-admin.py startproject lwc

cd lwc

python manage.py runserver

python manage.py syncdb

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s