Quick start Coatl (deb systems)

1) Get the packages

$sudo apt-get install subversion sqlite3 python-pysqlite2

2) Get the code

$svn co http://svn.assembla.com/svn/coatl

3) Create database

$cd coatl/db && sqlite3 DBCOATL.db &

4) in coatl/ dir create localsettings.py file with the next content:

import os
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
PROJECT_DIR = BASE_DIR + '/db'
DATABASE_NAME = os.path.join(PROJECT_DIR, 'DBCOATL.db') # I'm using sqlite3!
DATABASE_USER = ''        # Not used with sqlite3.
DATABASE_PASSWORD = ''       # Not used with sqlite3.
DATABASE_HOST = ''             # Not used with sqlite3.
DATABASE_PORT = ''             # Not used with sqlite3

Save and close this file.

5) Syncronize database

$python manage.py syncdb

To the question:

You just installed Django’s auth system, which means you don’t have any
superusers defined. Would you like to create one now?

Answer ‘yes’ and fill data.

6) Run server

$python manage.py runserver

7) Load in your browser http://localhost:3000/blog/display

8) Access admin section to insert blog entries

Thats it by now.