Last change
on this file since 6193 was 6183, checked in by RIck van der Zwet, 16 years ago |
Move of static/templates into the package itself
|
File size:
834 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 | sampleserver = general django layout
|
---|
7 | exodus = exodus module
|
---|
8 | exodus/static = exodus static files
|
---|
9 | exodus/templates = exodus 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/sampleserver/settings.py.tmpl $SVNROOT/sampleserver/settings.py
|
---|
19 | $ Alter DJANGOROOT to match $SVNROOT
|
---|
20 |
|
---|
21 | To create the database:
|
---|
22 | $ cd $SVNROOT
|
---|
23 | $ ./sampleserver/manage.py --pythonpath=`pwd` syncdb
|
---|
24 |
|
---|
25 | To run the developmentserver do
|
---|
26 | $ cd $SVNROOT
|
---|
27 | $ ./sampleserver/manage.py --pythonpath=`pwd` runserver <8000>
|
---|
28 |
|
---|
29 |
|
---|
30 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.