Self hosted FLOSS fitness/workout, nutrition and weight tracker
Small improvements to the installation instructions
Roland Geider8541c28020cc
diff --git a/docs/development.rst b/docs/development.rstindex 8242b3ba6..339c4641e 100644--- a/docs/development.rst+++ b/docs/development.rst@@ -5,14 +5,18 @@ DevelopmentFirst, install all required packages::- $ sudo apt-get install python-virtualenv python-dev nodejs+ $ sudo apt-get install python-virtualenv python3-dev nodejs$ virtualenv python-django$ source python-django/bin/activate- $ pip install -r requirements_devel.txt- $ npm install bower.. note::- For python3 some packages have slightly different names such as ``python3-dev``+ For python2 some packages have slightly different names such as ``python-dev``++.. note::+ You probably want to install some external libraries for the Pillow imaging+ library, otherwise the thumbnailer might not be able to resize the images::++ $ sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev libwebp-devGet the code and start the application. This will create a SQlite database@@ -20,6 +24,8 @@ and populate it with data on the first run::$ git clone https://github.com/rolandgeider/wger.git$ cd wger+ $ pip install -r requirements_devel.txt+ $ npm install bower$ invoke bootstrap_wgerThat's it. You can log in with the default administator user:@@ -49,12 +55,12 @@ code::$ mv /home/user/.config/wger/settings.py .$ mv /home/user/.local/share/wger/database.sqlite- $ vim settings.py# Update the path for the sqlite files in DATABASES section+ $ vim settings.py-Miscelaneous settings-~~~~~~~~~~~~~~~~~~~~~+Miscellaneous settings+~~~~~~~~~~~~~~~~~~~~~~The following settings can be very useful during development (add to yoursettings.py):diff --git a/docs/install.rst b/docs/install.rstindex 1a8300418..c9a8b27e1 100644--- a/docs/install.rst+++ b/docs/install.rst@@ -6,7 +6,7 @@ Installation (production)This file gives a broad description of the necessary steps to install wger on aproduction environment with apache as a webserver. Since this is a regulardjango application, refer to its documentation if your setup differs. For a-developemt setup refer to :doc:`development`+development setup refer to :doc:`development`The application is compatible and regularly tested with