Changeset 6176


Ignore:
Timestamp:
Aug 12, 2008, 3:50:16 PM (17 years ago)
Author:
RIck van der Zwet
Message:

Restructured directory layout to match more logical structure as discribed in
README, note untested commit as code is not yet reproduceable

Files:
2 deleted
4 edited
2 copied
3 moved

Legend:

Unmodified
Added
Removed
  • README

    r6175 r6176  
    1 See LICENSE for the license details; The whole of Exodus falls under this license.
     1See LICENSE for the license details; The whole of Exodus falls under this
     2license. 
     3Roland van Laar email: roland@wirelessleiden.nl
    24
    3 Roland van Laar
    4 email: roland@wirelessleiden.nl
    5 
    6 Install django 0.96 Follow the website
    7 Do a avn checkout svn.wirelessleiden.nl/svn/code/exodus
    8 
    9 In django_exodus/settings.py
    10 change MEDIA_ROOT to PATH/django_media
    11 Let template dirs point to: $PATH/django_templates
     5= Directory/File layout =
     6django        = general django layout
     7django/exodus = django/exodus
     8media         = static media files
     9templates     = template files
    1210
    1311
     12= Hacking =
     13Install django 0.96 Follow the website, via macports
     14`sudo port install py25-django-devel`
     15Do a avn checkout svn.wirelessleiden.nl/svn/code/exodus hereafter referred to
     16it as SVNROOT
     17
     18In $SVNROOT/django/settings.py
     19change MEDIA_ROOT to $SVNROOT/media
     20Let template dirs point to: $SVNROOT/templates
     21
    1422To run the developmentserver do
    15 $ cd django_exodus
    16 $ ./manage.py runserver 8000
    17 
    18 The portnumber is optional
     23$ cd $SVNROOT/django
     24$ ./manage.py runserver <8000>
    1925
    2026
  • django

    • Property svn:mergeinfo set to
  • django/exodus

    • Property svn:mergeinfo set to
  • django/settings.py

    r6175 r6176  
    1 # Django settings for django_exodus project.
     1# Django settings for exodus project.
    22
    33DEBUG = True
     
    3030# Absolute path to the directory that holds media.
    3131# Example: "/home/media/media.lawrence.com/"
    32 MEDIA_ROOT = '/Users/roland/WL/exodus_svn/exodus/django_media'
     32MEDIA_ROOT = '/Users/roland/WL/exodus_svn/exodus/media'
    3333
    3434# URL that handles the media served from MEDIA_ROOT.
     
    6464    # Always use forward slashes, even on Windows.
    6565
    66    "~/exodus/django_templates"
     66   "~/exodus/templates"
    6767)
    6868
     
    7373    'django.contrib.sites',
    7474    'django.contrib.admin',
    75     'django_exodus.exodus_01',
     75    'django.exodus',
    7676)
  • django/urls.py

    r6175 r6176  
    33
    44urlpatterns = patterns('',
    5      (r'^exodus_01/', include('django_exodus.exodus_01.urls')),
     5     (r'^exodus/', include('django.exodus.urls')),
    66         (r'^site_media/(.*)$', 'django.views.static.serve', {'document_root':
    77         '/Users/roland/WL/exodus/django_media'}),
  • media

    • Property svn:mergeinfo set to
  • templates

    • Property svn:mergeinfo set to
  • templates/exodus

    • Property svn:mergeinfo set to
  • templates/exodus_template.html

    r6175 r6176  
    1212          <A name="top"><img width="130" height="82" alt="logo" src="/site_media/logo.png" border=0/></A></br>
    1313          <img width="130" height="97" alt="foto" src="/site_media/foto.jpg"/><br/>
    14           &nbsp;&nbsp;<A class="menu" href="http://localhost:8080/exodus_01/">Exodus</a></br/>
    15           &nbsp;&nbsp;<A class="menu" href="/exodus_01/nodelist">Node List</a><br/>
    16           &nbsp;&nbsp;<A class="menu" href="/exodus_01/addlocation">Add Location</a></br>
    17           &nbsp;&nbsp;<A class="menu" href="/exodus_01/addnode">Add Node</a></br>
    18           &nbsp;&nbsp;<A class="menu" href="/exodus_01/addnic">Add NIC</a></br>
    19           &nbsp;&nbsp;<A class="menu" href="/exodus_01/addinterlink">Add Interlink</a></br>
    20           &nbsp;&nbsp;<A class="menu" href="/exodus_01/addomni">Add Omni</a></br>
     14          &nbsp;&nbsp;<A class="menu" href="/exodus">Exodus</a></br/>
     15          &nbsp;&nbsp;<A class="menu" href="/exodus/nodelist">Node List</a><br/>
     16          &nbsp;&nbsp;<A class="menu" href="/exodus/addlocation">Add Location</a></br>
     17          &nbsp;&nbsp;<A class="menu" href="/exodus/addnode">Add Node</a></br>
     18          &nbsp;&nbsp;<A class="menu" href="/exodus/addnic">Add NIC</a></br>
     19          &nbsp;&nbsp;<A class="menu" href="/exodus/addinterlink">Add Interlink</a></br>
     20          &nbsp;&nbsp;<A class="menu" href="/exodus/addomni">Add Omni</a></br>
    2121        </td>
    2222        <td valign="top" class="right">
Note: See TracChangeset for help on using the changeset viewer.