From: Guillaume Pellerin Date: Tue, 2 Oct 2018 15:19:17 +0000 (+0200) Subject: Update doc against the new local_settings.py.sample X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1ff9138d46a851cdfbcaba16d1113a387f2adaf3;p=mezzo.git Update doc against the new local_settings.py.sample --- diff --git a/README.rst b/README.rst index 0fa9650d..a141018c 100644 --- a/README.rst +++ b/README.rst @@ -132,6 +132,13 @@ Our docker composition already bundles some powerful containers and bleeding edg For a production environment setup:: cd Mezzo + +Copy the local_settings sample:: + + cp app/local_settings.py.sample app/local_settings.py + +and edit your own local_settings, especially the SECRET_KEY parameter. Then:: + bin/prod/up.sh which builds, (re)creates, starts, and attaches all containers. @@ -160,7 +167,7 @@ options:: This will install a init script in /etc/init.d. For example, if your app directory is named `mezzanine-organization` then `/etc/init.d/mezzanine-organization` becomes the init script for the OS booting procedure and for you if you need to start the daemon by hand:: - sudo /etc/init.d/Mezzo start + sudo /etc/init.d/mezzo start .. _Docker-engine: https://docs.docker.com/installation/ diff --git a/doc/src/install.rst b/doc/src/install.rst index a8d7da7c..f7a171d3 100644 --- a/doc/src/install.rst +++ b/doc/src/install.rst @@ -22,6 +22,13 @@ Our docker composition already bundles some powerful containers and bleeding edg For a production environment setup:: cd Mezzo + +Copy the local_settings sample:: + + cp app/local_settings.py.sample app/local_settings.py + +and edit your own local_settings, especially the SECRET_KEY parameter. Then:: + bin/prod/up.sh which builds, (re)creates, starts, and attaches all containers. @@ -50,7 +57,7 @@ options:: This will install a init script in /etc/init.d. For example, if your app directory is named `mezzanine-organization` then `/etc/init.d/mezzanine-organization` becomes the init script for the OS booting procedure and for you if you need to start the daemon by hand:: - sudo /etc/init.d/Mezzo start + sudo /etc/init.d/mezzo start .. _Docker-engine: https://docs.docker.com/installation/