Files
wger/extras/docker/development
2020-06-28 18:46:24 +02:00
..
2020-06-24 21:35:31 +02:00

Development image for wger - Ubuntu based

Thank you for downloading wger Workout Manager. wger (ˈɡɐ) is a free, open source web application that manages your exercises and personal workouts, weight and diet plans. It can also be used as a simple gym management utility, providing different administrative roles (trainer, manager, etc.). It offers a REST API as well, for easy integration with other projects and tools.

It is written with python/django and uses jQuery and some D3js for charts.

Installation

This docker image contains an instance of the application running with django's development server using a sqlite database. It can be used to quickly setup a development instance (vim and tmux are already installed):

docker run -ti --name wger.devel --publish 8000:8000 wger/devel

Then, within the docker image, activate the virtualenv

source ~/venv/bin/activate

and start the development server

python manage.py runserver 0.0.0.0:8000

Then just open http://localhost:8000 and log in as: admin, password admin

To stop the container:

sudo docker container stop wger.devel

To start developing again:

sudo docker container start --attach wger.devel

You can also keep the code outside and just bind it into the container:

docker run -ti -v /path/to/local/project/checkout:/home/wger/src --name wger.devel --publish 8000:8000 wger/devel

Building

If you build this yourself, keep in mind that you must build from the project root!

docker build -f extras/docker/development/Dockerfile --tag wger/devel .

Contact

Feel free to contact us if you found this useful or if there was something that didn't behave as you expected. We can't fix what we don't know about, so please report liberally. If you're not sure if something is a bug or not, feel free to file a bug anyway.

Sources

All the code and the content is freely available:

Licence

The application is licenced under the Affero GNU General Public License 3 or later (AGPL 3+).

The initial exercise and ingredient data is licensed additionally under one of the Creative Commons licenses, see the individual exercises for more details.

The documentation is released under a CC-BY-SA either version 4 of the License, or (at your option) any later version.

Some images where taken from Wikipedia, see the SOURCES file in their respective folders for more details.