Changes between Version 1 and Version 2 of Server/Setup
- Timestamp:
- 07/10/12 14:59:36 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Server/Setup
v1 v2 5 5 = Server setup = 6 6 7 Deploying CMT with Apache and `mod_wsgi` is the recommended way to get it up and running.7 Deploying CMT with PostgreSQL, Apache and `mod_wsgi` is the recommended way to get it up and running. 8 8 9 9 10 == Basic configuration == 10 == Setup PostgreSQL database == 11 12 If the database tables aren't generated yet, an initial setup based on the models is needed. 13 You can synchronize the database with the models from the commandline, by issuing the following command: 14 15 {{{ 16 python /path/to/sara_cmt/sara_cmt/manage.py syncdb 17 }}} 18 19 20 == Basic Apache configuration == 11 21 12 22 Be sure to activate `mod_wsgi`, and define the `WSGIScriptAlias` in your Apache server configuration: … … 18 28 The 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. 19 29 Any request below the given URL will be served using the application that's definined in the WSGI-file. 20 21