Skip to content

elhusseiniali/styx

Repository files navigation

build Coverage Status Python Version

Styx

Styx is meant to be a Flask app where users can log their workouts. The feature list will grow as the project evolves.

Setup Guide

  1. Copy the contents of config.example.toml to config.toml in the main directory (it doesn't matter because it looks for config.toml or given filename anywhere in the project) and follow the instructions (only needed for customization):

    cp config.example.toml config.toml
  2. Install project dependencies with:

    pip install -r requirements.txt

Running the Application

Start the application with:

python run.py

Database Management

The following commands are available for database management:

  • create: Create the tables defined in models package.

    flask --app=run.py db create
  • delete: Drop the tables defined in models package.

    flask --app=run.py db delete
  • reset: Reset the tables defined in models package.

    flask --app=run.py db reset

Testing

Run the tests with:

python -m pytest

About

A Flask app to track workouts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •