Self hosted FLOSS fitness/workout, nutrition and weight tracker
Correct some places in documentation
Roland Geider94d74618ba68
diff --git a/docs/install.rst b/docs/install.rstindex c7bab918a..a8fa06b0d 100644--- a/docs/install.rst+++ b/docs/install.rst@@ -43,7 +43,7 @@ ApacheInstall apache and the WSGI module::- sudo apt-get install apache2 libapache2-mod-wsgi nodejs npm+ sudo apt-get install apache2 libapache2-mod-wsgi-py3 nodejs npmsudo vim /etc/apache2/apache2.conf@@ -51,7 +51,7 @@ Configure apache to serve the application::>>>WSGIScriptAlias / /home/myuser/wger/wger/wsgi.py- WSGIPythonPath /home/myuser/wger:/home/myuser/venv-wger/lib/python2.7/site-packages+ WSGIPythonPath /home/myuser/wger:/home/myuser/venv-wger/lib/python3.4/site-packages<Directory /home/myuser/wger><Files wsgi.py>@@ -67,10 +67,12 @@ Configure apache to serve the application::</Directory>Alias /media/ /home/myuser/media/- <Directory /path/to/mysite.com/media>+ <Directory /home/myuser/media/>Require all granted</Directory>- ... # Log files, etc.++ ErrorLog ${APACHE_LOG_DIR}/error.log+ CustomLog ${APACHE_LOG_DIR}/access.log combined</VirtualHost>@@ -82,8 +84,8 @@ Install the necessary packages to create a virtualenv for python (note that youmight need to install more if you want the thumbnailer to be able to supportmore image formats, consult the documentation for pillow for more details)::- sudo apt-get install git python-dev python-virtualenv- virtualenv venv-wger+ sudo apt-get install git python3-dev python-virtualenv+ virtualenv --python python3 venv-wgersource venv-wger/bin/activateIf using sqlite, create a folder for it (must be writable by the apache user@@ -111,8 +113,7 @@ Get the application::cd wgerpip install -r requirements.txtnpm install bower- invoke create_settings --settings-path .- python manage.py bower install+ invoke create_settings --settings-path ./settings.pyEdit your ``settings.py`` file and set the database, ``SITE_URL``,``STATIC_ROOT`` and ``MEDIA_ROOT``::@@ -132,10 +133,9 @@ Edit your ``settings.py`` file and set the database, ``SITE_URL``,>>> STATIC_ROOT = '/home/myuser/static'>>> MEDIA_ROOT = '/home/myuser/wger/media'-Run the installation scritpt, this will load all initial data (exit after it-is done)::+Run the installation scritpt, this will load all initial data::- python start.py --no-browser+ invoke bootstrap_wger --settings-path /path/to/settings.py --no-start-serverStart.py will create a default administator user (you probably want to change