12.31.2014

First setting project with django.

Assume to finish basic setting by http://jeffgukang.blogspot.kr/2014/12/install-virtualenv-with.html

1.
$ workon yourvirtualenv

2. Make Project
django-admin.py startproject yourproject
3. Setup setting.py file.

Make your database. (mysql, postgresql)

su postgres
psql
$ CREATE DATABASE database_name; 

I edited settting.py for PostgreSQL
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': '[_DBNAME_]
        'USER': '[_USERNAME_]',
        'PASSWORD': '[_DBPASSWORD_]',
        'HOST': 'localhost',
        'PORT': '',
    }
}





1 comment:

li0mic1nf0 said...

They all boil method down to} how a participant needs to have intervals of low action to construct up pressure adopted by bursts of depth. A poorly paced shooter would possibly throw enemies at a participant continuously, making each engagement mix into the 코인카지노 next - making for a very intense but finally boring experience. I was shocked once I found how these slot producers tried to protect their designs with patents.