Self hosted FLOSS fitness/workout, nutrition and weight tracker
Update installation instructions
Roland Geider34797b329a2a
diff --git a/README b/READMEindex beb79f64c..01a4e0ae7 100644--- a/README+++ b/README@@ -72,35 +72,50 @@ as expected or if you are using a different setup.In short, these are the steps to perform for an installation on a linux machine, with python alreadyinstalled. I personally like installing my development files on a virtualenv, it helps keep the-system more or less clean and are very easy to set up.::+system more or less clean and are very easy to set up. ::-$ virtualenv python-django-$ source python-django/bin/activate-$ pip install django-$ pip install reportlab-$ hg clone https://[email protected]/rolandgeider/workout_manager+ $ sudo apt-get install python-virtualenv+ $ mkdir manager+ $ cd manager+ $ virtualenv python-django+ $ source python-django/bin/activate+ $ pip install django+ $ pip install reportlab+ $ python+ >>> import django-Now, run the server::+If the import worked, everything is set up.-$ cd workout_manager-$ python manage.py runserver+Now let's install the application itself ::++ $ hg clone https://[email protected]/rolandgeider/workout_manager+ $ cd workout_manager/workout_manager+ $ mv settings.sample.py settings.py++Edit settings.py, setting the type of database you want to use. The fastest to set up is Sqlite, but+you can use whatever Django supports. Initialise the database and create a super user::++ $ cd ..+ $ python manage.py syncdbNow you are ready to go, the application is installed and can be used. However, an application likethis without data is not interesting, so you should load some initial data to populate the categories,etc.+For this, load these fixtures, *in this order*, as some dependend on each other:+* ``python manage.py loaddata languages`` (this is specially important, things depend on the language table)+* ``python manage.py loaddata muscles``+* ``python manage.py loaddata categories``+* ``python manage.py loaddata exercises``+* ``python manage.py loaddata ingredients``-You can now access the site with your browser: `http://localhost:8000/`--For this, load these fixtures, *in this order*, as some dependend on each other:+Now, run the server::-* ``manage.py loaddata languages`` (this is specially important, things depend on the language table)-* ``manage.py loaddata muscles``-* ``manage.py loaddata categories``-* ``manage.py loaddata exercises``-* ``manage.py loaddata ingredients``+$ cd workout_manager+$ python manage.py runserver+You can now access the site with your browser: `http://localhost:8000/`Compatibility-------------