Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run app #1

Open
JV91 opened this issue Dec 30, 2023 · 2 comments
Open

Run app #1

JV91 opened this issue Dec 30, 2023 · 2 comments

Comments

@JV91
Copy link

JV91 commented Dec 30, 2023

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

@Bechma
Copy link
Owner

Bechma commented Dec 30, 2023

Hello @JV91 , thanks for sharing this issue, I made this commit 6974641 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 :)

@JV91
Copy link
Author

JV91 commented Dec 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants