Document the new configuration file usage

This commit is contained in:
Jérôme Schneider 2014-10-31 11:11:54 +01:00
parent c18e9f7fe4
commit 04ff6f68f9
1 changed files with 7 additions and 7 deletions

View File

@ -78,11 +78,6 @@ First step is to create a mandaye project::
$ mandaye-admin.py --newproject PROJECT_NAME
$ cd PROJECT_NAME
Configure your project (look configuration section)::
$ touch PROJECT_NAME/local_config.py
$ vi PROJECT_NAME/local_config.py
Install your Mandaye project::
$ python setup.py install
@ -92,15 +87,20 @@ Launch mandaye server::
$ ./server.py
Use your own Mandaye configuration file::
$ cp PROJECT_NAME/default-config.ini PROJECT_NAME/config.ini
$ ./server.py --config=config.ini
server.py use gunicorn and gunicorn options (please read http://gunicorn.org/configure.html)
You could also use gunicorn.conf.py-sample (in the mandaye files)::
$ ./server.py -c PATH_TO_THE_FILE/gunicorn.conf.py
$ ./server.py --config=config.ini -c PATH_TO_THE_FILE/gunicorn.conf.py
or::
$ ./server.py -c PATH_TO_THE_FILE/gunicorn.conf.py -b 0.0.0.0:4242
$ ./server.py --config=config.ini -c PATH_TO_THE_FILE/gunicorn.conf.py -b 0.0.0.0:4242
Upgrade Mandaye
---------------