Self hosted FLOSS fitness/workout, nutrition and weight tracker
Update installation instructions for apache
Roland Geider4a5f014d1a95
diff --git a/docs/production.rst b/docs/production.rstindex 1b91eb391..f9c561a65 100644--- a/docs/production.rst+++ b/docs/production.rst@@ -30,7 +30,7 @@ Configure apache to serve the application::<VirtualHost *:80>- WSGIDaemonProcess wger python-path=/home/wger/src:/home/wger/venv/lib/python3.4/site-packages+ WSGIDaemonProcess wger python-path=/home/wger/src python-home=/home/wger/venvWSGIProcessGroup wgerWSGIScriptAlias / /home/wger/src/wger/wsgi.py@@ -44,13 +44,13 @@ Configure apache to serve the application::Require all granted</Directory>- ErrorLog ${APACHE_LOG_DIR}/error.log- CustomLog ${APACHE_LOG_DIR}/access.log combined+ ErrorLog ${APACHE_LOG_DIR}/wger-error.log+ CustomLog ${APACHE_LOG_DIR}/wger-access.log combined</VirtualHost>Apache has a problem when uploading files that have non-ASCII characters, e.g.for exercise images. To avoid this, add to /etc/apache2/envvars (if there is-already an ``export LANG``, replace it)::+already an ``export LANG``, replace it) or set your system's locale::export LANG='en_US.UTF-8'export LC_ALL='en_US.UTF-8'@@ -111,7 +111,6 @@ Get the application::git clone https://github.com/wger-project/wger.git /home/wger/srccd /home/wger/src- npm install bowerpip install -r requirements.txtpython setup.py developpip install psycopg2 # Only if using postgres@@ -127,7 +126,7 @@ for the engine). Also set ``MEDIA_ROOT`` to ``/home/wger/media`` andRun the installation script, this will download some CSS and JS libraries andload all initial data::- wger bootstrap --settings-path /path/to/settings.py --no-start-server+ wger bootstrap --settings-path /home/wger/src/settings.py --no-start-serverCollect all static resources::