Last change
on this file since 6180 was 6180, checked in by RIck van der Zwet, 16 years ago |
Differ from exodus and django config
|
File size:
901 bytes
|
Line | |
---|
1 | See LICENSE for the license details; The whole of Exodus falls under this
|
---|
2 | license.
|
---|
3 | Roland van Laar email: roland@wirelessleiden.nl
|
---|
4 |
|
---|
5 | = Directory/File layout =
|
---|
6 | django = general django layout
|
---|
7 | django/exodus = django/exodus
|
---|
8 | media = static media files
|
---|
9 | templates = template files
|
---|
10 |
|
---|
11 |
|
---|
12 | = Hacking =
|
---|
13 | Install django 0.96 Follow the website, via macports
|
---|
14 | `sudo port install py25-django-devel`
|
---|
15 | Do a svn checkout svn.wirelessleiden.nl/svn/code/exodus hereafter referred to
|
---|
16 | it as SVNROOT
|
---|
17 |
|
---|
18 | $ mv $SVNROOT/django/settings.py.tmpl $SVNROOT/django/settings.py
|
---|
19 | Point the DATABASE_NAME to a empty filename of choice.
|
---|
20 | change MEDIA_ROOT to $SVNROOT/media
|
---|
21 | Let template dirs point to: $SVNROOT/templates
|
---|
22 |
|
---|
23 | To create the database:
|
---|
24 | $ cd $SVNROOT
|
---|
25 | $ ./django-conf/manage.py --pythonpath=`pwd` syncdb
|
---|
26 |
|
---|
27 | To run the developmentserver do
|
---|
28 | $ cd $SVNROOT
|
---|
29 | $ ./django-conf/manage.py --pythonpath=`pwd` runserver <8000>
|
---|
30 |
|
---|
31 |
|
---|
32 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.