forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

3 Commits (a7b67db555cc5ae8419ae4d452f93bd0d388fb30)

Author SHA1 Message Date
Snakes acb3a0b338 Enable flask command, add cron target.
Adding an empty __init__.py, the imports-only cli.py, and setting
FLASK_APP in the environment are enough to get the `flask` command
to work. This will enable future changes, including database
migrations.

The proximate reason for the fix is to add a `flask cron` command
to run scheduled tasks within the application from cron. Specifically,
the lottery should be run from cron.
2022-06-07 06:57:26 -04:00
Aevann1 38a7632c25 gf 2021-10-21 15:06:17 +02:00
Yo Mama d6223a4891 fix pytest giving errors when used from the command line 2021-10-19 21:30:00 +02:00