Giter VIP home page Giter VIP logo

wger's Introduction

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.

For more details and a live system, refer to the project's site: https://wger.de/

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).

Installation

These are the basic steps to install and run the application locally on a linux system. Please consult the documentation for further information and parameters on the invoke command.

Docker

Useful to just try it out:

docker run -ti --name wger.apache --publish 8000:80 wger/apache

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

Development version (from git)

Note: You can safely install from master, it is almost always in a usable and stable state.

  1. Install the necessary packages and their dependencies in a virtualenv
$ sudo apt-get install python3-dev python-virtualenv nodejs nodejs-legacy npm libjpeg8-dev zlib1g-dev
$ virtualenv --python python3 venv-django
$ source venv-django/bin/activate
  1. Start the application. This will create a SQlite database and populate it with data on the first run.
$ git clone https://github.com/rolandgeider/wger.git
$ cd wger
$ npm install bower
$ pip install -r requirements.txt  # or requirements_devel.txt to develop
$ invoke bootstrap_wger
  1. Log in as: admin, password admin

After the first run you can just use django's development server. You will probably want to move the settings and sqlite files to your git folder, see the comments in the documentation (development chapter) about this:

$ python manage.py runserver

Stable version (from PyPI)

  1. Install the necessary packages and their dependencies in a virtualenv
$ sudo apt-get install python3-dev python-virtualenv nodejs nodejs-legacy npm libjpeg8-dev zlib1g-dev
$ virtualenv venv-django
$ source venv-django/bin/activate
$ pip install wger
  1. Start the application. This will create a SQlite database and populate it with data on the first run
$ wger bootstrap_wger
  1. Log in as: admin, password admin

Command line options

The available options for the wger command (if installed from PyPI) or invoke (if installed from source) are the following (use e.g. wger <command>:

bootstrap_wger          Performs all steps necessary to bootstrap the application
config_location         Returns the default location for the settings file and the data folder
create_or_reset_admin   Creates an admin user or resets the password for an existing one
create_settings         Creates a local settings file
load_fixtures           Loads all fixtures
migrate_db              Run all database migrations
start_wger              Start the application using django's built in webserver

Contact

Feel free to contact us if you found this useful or if there was something that didn't behave as you expected (in this case you can also open a ticket on the issue tracker).

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 a Creative Commons Attribution Share-Alike 3.0 (CC-BY-SA 3.0)

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.

wger's People

Contributors

rolandgeider avatar rlaszlo avatar jamessimas avatar yuyu-aung avatar marchiore avatar cthare avatar warchildmd avatar murphyalexandre avatar tushar-gupta avatar seanhussey avatar dashdrum avatar

Watchers

James Cloos avatar Oscar Gala Grano avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.