{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% load wger_extras %} {% block title %}{% trans "Get the code" %}{% endblock %} {% block content %}

{% trans "Installing the stable version" %}

{% blocktrans %}Click here to download the last stable version. For installation instructions see below.{% endblocktrans %}

{% trans "download stable version:" %}
v1.5 | tar.gz | 5MB

{% blocktrans %}In short, these are the steps needed for an installation on a linux or OS X machine, with python already installed. If you want to develop, see the sections below.{% endblocktrans %}

{% blocktrans %}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, but you can skip this step if you don't mind installing all dependencies system-wide (in that case, install django and the other applications with a sudo).{% endblocktrans %}

$ sudo apt-get install python-virtualenv
$ sudo apt-get install python-dev
$ virtualenv python-django
$ source python-django/bin/activate

{% blocktrans %}Get the application from PyPI, initialise and start it.{% endblocktrans %}

$ pip install wger
$ wger

{% blocktrans %}The script will, on first run, create a configuration file and a SQLite database with a standard superuser:{% endblocktrans %}

{% blocktrans %}You can later simply call wger again to start the application.{% endblocktrans %}

{% blocktrans %}Use wger --help to see available options{% endblocktrans %}

{% endblock %} {% block sidebar %}

Further documentation

There are more detailed instructions, other deployment options as well as an administration guide available at https://wger.readthedocs.org or locally in your code repository in the docs folder (make html to compile, then open _build/index.html).

{% endblock %}