From: Guillaume Pellerin Date: Wed, 8 Jun 2016 20:44:07 +0000 (+0200) Subject: add envs to doc X-Git-Tag: 1.6.2^2~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e1042070feb0482c93b93bf80b5159da7c0bd1c3;p=telemeta.git add envs to doc --- diff --git a/README.rst b/README.rst index b7ae3f05..f5ae3771 100644 --- a/README.rst +++ b/README.rst @@ -138,7 +138,7 @@ Then clone Telemeta:: Start it up =========== -For a production environment setup:: +For a production environment setup, first read / edit `env/prod.env`, then:: docker-compose up @@ -195,7 +195,7 @@ Development :alt: Coverage -To start the application in a development environment setup:: +To start the application in a development environment setup, first read / edit `env/debug.env`, then:: cd Telemeta git pull diff --git a/app/scripts/app.sh b/app/scripts/app.sh index 46b9b008..6f07073d 100644 --- a/app/scripts/app.sh +++ b/app/scripts/app.sh @@ -46,11 +46,6 @@ for dir in $(ls $media); do fi done -# update haystack index in prod -if [ "$DEBUG" = "False" ]; then - python $manage update_index --workers $processes & -fi - # choose dev or prod mode if [ "$1" = "--runserver" ]; then python $manage runserver_plus 0.0.0.0:8000