From 04ff6f68f9b6d4f827ebc32858aef631c8ad9529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Fri, 31 Oct 2014 11:11:54 +0100 Subject: [PATCH] Document the new configuration file usage --- README.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index ec370ab..7cef878 100644 --- a/README.rst +++ b/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 ---------------