todo-axum-askama-htmx icon indicating copy to clipboard operation
todo-axum-askama-htmx copied to clipboard

Run app

Open JV91 opened this issue 1 year ago • 2 comments
trafficstars

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 :)

JV91 avatar Dec 30 '23 17:12 JV91

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 :)

Bechma avatar Dec 30 '23 19:12 Bechma

Thank you for a quick feedback @Bechma. I went through the application and like it/learned a lot. Keep up the great work!

JV91 avatar Dec 30 '23 20:12 JV91