Peter Stockings 62e203bc2a feat: Add SQL script export option
- Added functionality to export the full database schema (CREATE statements) and data (INSERT statements) as a single `.sql` file.
- Created a new route `/export/database.sql` in `routes/export.py`.
- Added helper functions to `routes/export.py` (adapted from `sql_explorer`) to generate schema CREATE statements and data INSERT statements.
- Added a download link for the SQL export to the Settings page (`templates/settings.html`).
- Updated the changelog entry for data export to include the SQL option.
2025-04-12 21:17:19 +10:00
2025-04-12 21:17:19 +10:00
2025-02-01 21:26:52 +11:00
2022-07-15 21:06:27 +10:00
2025-04-12 21:17:19 +10:00
2022-09-17 16:42:50 +10:00
2022-09-10 15:09:17 +10:00
2022-09-17 13:38:41 +10:00

Workout tracker

Track topsets over time.

Setup

Install python>3

Install dependencies

$ pip install -r requirements.txt

Enable development mode

PS $ENV:FLASK_ENV='development'

Set database url, either setup postgres database locally use migration script or expose deployed one

$Env:DATABASE_URL = 'postgres://postgres:***@***:***/***'

Start application:

flask run

Features

  • Track topsets for each workout
  • Multi user
  • Authentication/Authorisation
Description
No description provided
Readme 4 MiB
Languages
HTML 43.9%
Python 35.5%
Jupyter Notebook 18.8%
PLpgSQL 1.2%
CSS 0.6%