Changeset 6183 for README


Ignore:
Timestamp:
Aug 12, 2008, 9:18:51 PM (17 years ago)
Author:
RIck van der Zwet
Message:

Move of static/templates into the package itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README

    r6180 r6183  
    44
    55= Directory/File layout =
    6 django        = general django layout
    7 django/exodus = django/exodus
    8 media         = static media files
    9 templates     = template files
     6sampleserver     = general django layout
     7exodus           = exodus module
     8exodus/static    = exodus static files
     9exodus/templates = exodus template files
    1010
    1111
     
    1616it as SVNROOT
    1717
    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
     18$ mv $SVNROOT/sampleserver/settings.py.tmpl $SVNROOT/sampleserver/settings.py
     19$ Alter DJANGOROOT to match $SVNROOT
    2220
    2321To create the database:
    2422$ cd $SVNROOT
    25 $ ./django-conf/manage.py --pythonpath=`pwd`  syncdb
     23$ ./sampleserver/manage.py --pythonpath=`pwd`  syncdb
    2624
    2725To run the developmentserver do
    2826$ cd $SVNROOT
    29 $ ./django-conf/manage.py --pythonpath=`pwd` runserver <8000>
     27$ ./sampleserver/manage.py --pythonpath=`pwd` runserver <8000>
    3028
    3129
Note: See TracChangeset for help on using the changeset viewer.