bit more refactoring, moved all but main and routes into a src folder
added scripts: (also in the readme)
Scripts
Run from base dir, run with python -m app.scripts."script"
Example
python -m app.scripts.nuke
nuke.py will clear your local db. Can be run with arguments m for matches, p for players, and c for categories. Run with no args to clear entire db
add_prod_data will attempt to grab production data. Can be run with arguments m for matches, p for players, and c for categories. Run with no args to get all prod data
All player first names will have "_test" appended to the beginning of them, to not confuse your local env with prod.
bit more refactoring, moved all but main and routes into a src folder
added scripts: (also in the readme) Scripts
Run from base dir, run with python -m app.scripts."script" Example
nuke.py will clear your local db. Can be run with arguments m for matches, p for players, and c for categories. Run with no args to clear entire db
add_prod_data will attempt to grab production data. Can be run with arguments m for matches, p for players, and c for categories. Run with no args to get all prod data All player first names will have "_test" appended to the beginning of them, to not confuse your local env with prod.