Styx is meant to be a Flask app where users can log their workouts. The feature list will grow as the project evolves.
-
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
-
Install project dependencies with:
pip install -r requirements.txt
Start the application with:
python run.pyThe 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
Run the tests with:
python -m pytest