Changeset 6340


Ignore:
Timestamp:
Oct 6, 2008, 8:20:41 AM (17 years ago)
Author:
roland
Message:

merge -r6328:6339, some files didn't merge correctly and have been added by hand.
README, Makefile and doc/ have been updated to reflect the buildout changes.
Two unittest have been merged into trunk too.

Location:
trunk
Files:
1 deleted
3 edited
7 copied

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r6319 r6340  
    1 SQLDB="sqllite.db"
     1SQLDB="exodus.db"
    22
    33help:
     
    99debug:
    1010#Run server in extra debugging mode
    11         @./sampleserver/manage.py runserver_plus 8000 --pythonpath=`pwd`
     11        @./bin/django runserver_plus
    1212
    1313run:
    1414#Run server in normal power mode
    15         @./sampleserver/manage.py runserver 8000 --pythonpath=`pwd`
     15        @./bin/django runserver
    1616
    1717init:
    1818#Re-init database
    19         @echo "no" | ./sampleserver/manage.py syncdb --pythonpath=`pwd`
     19        @echo "no" | ./bin/django syncdb
    2020
    2121debug-init:
     
    3333#Intended usage for batch runs only e.g. no debug server
    3434
     35
     36
  • trunk/README

    r6311 r6340  
    1 See LICENSE for the license details; The whole of Exodus falls under this
     1See LICENSE for the license details; Exodus falls under this
    22license. 
    33Roland van Laar email: roland@wirelessleiden.nl
     
    88exodus/static    = exodus static files
    99exodus/templates = exodus template files
    10 sampleserver     = general django layout
    1110
    1211= Hacking =
    13 Install Django 1.0 to $DJANGOROOT
     12Buildout is a tool that automagically builds a development environment
     13for you.
    1414
    15 Install Django extentions using http://code.google.com/p/django-command-extensions/wiki/InstallationInstructions
    16 $ curl -O http://django-command-extensions.googlecode.com/files/django-command-extensions-0.3.tgz
    17 $ tar xzf django-command-extensions-0.3.tgz
    18 $ cd django-command-extensions-0.3
    19 $ python setup.py install
    20 
    21 $svn co http://code.djangoproject.com/svn/django/tags/releases/1.0/
    22 $ cd $DJANGOROOT
    23 $ ./sudo python setup.py install
     15To build the development environment:
     16$ cd $SVNTRUNK
     17$ python bootstrap.py
     18$ bin/buildout
    2419
    2520To create the database:
    26 $ cd $SVNROOT
     21$ cd $SVNTRUNK
    2722$ make init
    2823
    29 To run the developmentserver do
    30 $ cd $SVNROOT
     24To run the developmentserver do:
     25$ cd $SVNTRUNK
    3126$ make debug
    3227
    33 
    34 
     28To run unittests do:
     29$ cd $SVNTRUNK
     30$ bin/test
  • trunk/doc/README

    r6281 r6340  
    33exodusmodels.dot is a graphviz file which shows the exodus database.
    44
    5 Install the djangotrunk and the django_extensions
    6 which can be fetched from:
    7 http://code.google.com/p/django-command-extensions/
    8 
    9 Add 'extensions' to settings.py
    10 
    115Using the djangotrunk execute:
    12 $ ./manage.py graph_models exodus > exodusmodels.dot
     6$ ./bin/django graph_models exodus > exodusmodels.dot
    137
    148= Debug Django =
    159
    16 Install django_extensions, see above for installation description.
    17 Install Werkzeug from: http://werkzeug.pocoo.org/download
    18 
    1910Using werkzeug:
    20 $ ./manage.py runserver_plus
     11$ ./bin/django runserver_plus
  • trunk/exodus/settings.py

    r6339 r6340  
    66
    77ADMINS = (
    8     ('Administrator', 'admin@example.org'),
     8    ('rick', 'rick@wzoeterwoude.net'),
     9    ('roland','roland@micite.net'),
    910)
    1011
     
    5960    'django.contrib.sites',
    6061    'django.contrib.admin',
    61         'django.contrib.databrowse',
     62    'django.contrib.databrowse',
     63    'django_extensions',
    6264    'exodus',
    6365)
Note: See TracChangeset for help on using the changeset viewer.