todo-axum-askama-htmx
todo-axum-askama-htmx copied to clipboard
Run app
after exporting DATABASE_URL ($env:DATABASE_URL = "sqlite://./todos.sqlite") on windows, it's also necesarry to run "cargo sqlx migrate run" before "cargo run". Then the application works fine :)
Hello @JV91 , thanks for sharing this issue, I made this commit https://github.com/Bechma/todo-axum-askama-htmx/commit/697464103f722bf3572d0b6db404308e58f90311 which will fix this issue, so now when you clone the repo, you won't need to run migrations. Also, I added some extra information regarding recreating the database :)
Thank you for a quick feedback @Bechma. I went through the application and like it/learned a lot. Keep up the great work!