Update the readme and simplify the setup process #13
Labels
No Label
art
big
blocked
bug
crash report
disputed
documentation
duplicate
feature request
good first issue
packaging
question
security
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Projects/worblehat#13
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If you follow the list of commands in the README as they are now, the setup will not work.
poetry run alembic migrate
is not a real command, andalembic
needs the config to be inplace before you run it.The whole setup process is a bit of a mess, so it would be nice if the command count could be kept to a minimum. Maybe remove the "run flask to set up the database as a side-effect" step, and potentially interactively ask if you should automigrate unless
--no-automigrate
is given. The--no-automigrate
should probably be used in any potential systemd unit (see #5).Alternatively, add a flag to opt-in to both create, automigrate and seed the database (and potentially nuke any existing database to get a fresh new start upon starting the program anew).