Changes between Version 1 and Version 2 of Server/Setup


Ignore:
Timestamp:
07/10/12 14:59:36 (12 years ago)
Author:
sil
Comment:

added setup guidelines for the db

Legend:

Unmodified
Added
Removed
Modified
  • Server/Setup

    v1 v2  
    55= Server setup =
    66
    7 Deploying CMT with Apache and `mod_wsgi` is the recommended way to get it up and running.
     7Deploying CMT with PostgreSQL, Apache and `mod_wsgi` is the recommended way to get it up and running.
    88
    99
    10 == Basic configuration ==
     10== Setup PostgreSQL database ==
     11
     12If the database tables aren't generated yet, an initial setup based on the models is needed.
     13You can synchronize the database with the models from the commandline, by issuing the following command:
     14
     15{{{
     16python /path/to/sara_cmt/sara_cmt/manage.py syncdb
     17}}}
     18
     19
     20== Basic Apache configuration ==
    1121
    1222Be sure to activate `mod_wsgi`, and define the `WSGIScriptAlias` in your Apache server configuration:
     
    1828The first bit has to be the URL you want to be serving CMT at, and the second is the location of the WSGI-file in the CMT project directory.
    1929Any request below the given URL will be served using the application that's definined in the WSGI-file.
    20 
    21