Document the new configuration file usage
This commit is contained in:
parent
c18e9f7fe4
commit
04ff6f68f9
14
README.rst
14
README.rst
|
@ -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
|
||||
---------------
|
||||
|
|
Reference in New Issue