Author: jtauber
Date: Thu Oct 2 10:12:23 2008
New Revision: 995
Modified:
trunk/docs/customization.txt
trunk/docs/deployment.txt
trunk/docs/install.txt
Log:
updated docs to reflect directory restructuring
Modified: trunk/docs/customization.txt
==============================================================================
--- trunk/docs/customization.txt (original)
+++ trunk/docs/customization.txt Thu Oct 2 10:12:23 2008
@@ -4,7 +4,7 @@
As more sites are built using Pinax, more best practices will emerge, but
for
now what we recommend is:
-- Copy the ``pinax/`` project directory.
+- Copy the ``projects/complete_project/`` directory.
- Make any necessary changes to your manage.py, .wsgi, etc to reflect this
new
directory.
- Make necessary changes to the ``settings.py`` and ``urls.py`` files
there.
Modified: trunk/docs/deployment.txt
==============================================================================
--- trunk/docs/deployment.txt (original)
+++ trunk/docs/deployment.txt Thu Oct 2 10:12:23 2008
@@ -22,18 +22,19 @@
import os
from os.path import abspath, dirname, join
from site import addsitedir
- path =
addsitedir(abspath(join(dirname(__file__), 'django-hotclub', 'external_libs')),
set())
+ path =
addsitedir(abspath(join(dirname(__file__), 'django-hotclub', 'libs',
'external_libs')),
set())
if path:
sys.path = list(path) + sys.path
- sys.path.insert(0,
abspath(join(dirname(__file__), 'django-hotclub', 'external_apps')))
- sys.path.insert(0,
abspath(join(dirname(__file__), 'django-hotclub', 'local_apps')))
- sys.path.insert(0,
abspath(join(dirname(__file__), 'django-hotclub', 'core_apps')))
- sys.path.insert(0, abspath(join(dirname(__file__), 'django-hotclub')))
+ sys.path.insert(0,
abspath(join(dirname(__file__), 'django-hotclub', 'apps', 'external_apps')))
+ sys.path.insert(0,
abspath(join(dirname(__file__), 'django-hotclub', 'apps', 'local_apps')))
+ sys.path.insert(0,
abspath(join(dirname(__file__), 'django-hotclub', 'apps', 'core_apps')))
+
+ sys.path.insert(0,
abspath(join(dirname(__file__), 'django-hotclub', 'projects')))
from django.core.handlers.wsgi import WSGIHandler
- os.environ['DJANGO_SETTINGS_MODULE'] = 'pinax.settings'
+ os.environ['DJANGO_SETTINGS_MODULE'] = 'your_project.settings'
application = WSGIHandler()
Modified: trunk/docs/install.txt
==============================================================================
--- trunk/docs/install.txt (original)
+++ trunk/docs/install.txt Thu Oct 2 10:12:23 2008
@@ -17,24 +17,26 @@
Note that if you already have an external app or external library on the
path,
you don't need to use the one we provide.
-Once the checkout is complete, you should be able to cd into ``pinax/`` and
-run ``./manage.py syncdb`` and ``./manage.py runserver`` to get running
-immediately.
+Once the checkout is complete, you should be able to cd into
+``projects/complete_project/`` and run ``./manage.py syncdb`` and
+``./manage.py runserver`` to get running immediately.
Directory Structure
-------------------
-+---------------------+---------------------------------------------------------------+
-| ``pinax/`` | contains a django project and
templates |
-+---------------------+---------------------------------------------------------------+
-| ``external_apps/`` | contains external re-usable apps brought in via
svn:externals |
-+---------------------+---------------------------------------------------------------+
-| ``local_apps/`` | contains re-usable apps that aren't yet
externalized |
-+---------------------+---------------------------------------------------------------+
-| ``core_apps/`` | contains non re-usable apps specific to pinax
site |
-+---------------------+---------------------------------------------------------------+
-| ``external_libs/`` | contains external
libraries |
-+---------------------+---------------------------------------------------------------+
+::
+
+ projects/
+ complete_project/ contains a complete sample project and templates
+ basic_project/ a more basic starter project (still to come)
+ apps/
+ external_apps/ contains external re-usable apps via svn:externals
+ local_apps/ contains re-usable apps that aren't yet
externalized
+ core_apps/ contains non re-usable apps specific to sample
project
+ libs/
+ external_libs/ contains external libraries
+ docs/ documentation (using rst and sphinx; in progress)
+ fixtures/ test fixtures (in progress)
There is some path manipulation in manage.py to get this all to work.
You'll
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---