-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
32 lines (24 loc) · 922 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
===========
musikbiblio
===========
Installation
============
Django install
--------------
*nix
~~~~
These commands will get you a fresh installed version of django. ::
svn co http://code.djangoproject.com/svn/django/trunk/ django-trunk
export SITE_PACKAGES_DIR=`python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`
ln -s `pwd`/django-trunk/django $SITE_PACKAGES_DIR/django
ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/bin
Configuration
-------------
Rename settings_local.template to settings_local.py and configure it to your needs.
Running
-------
Two steps are needed to have the development server up and running.
1. When it's the first time you checkout or when you changed the django models then you need to run this: ::
python manage.py syncdb
2. Then to run the development server run this: ::
python manage.py runserver