All checks were successful
Frontend CI / build (push) Successful in 1m9s
### Description - `.sqlx` should be check into version control system because it is required when rust compiling if there is no available online sql server. ### Package Changes _No response_ ### Screenshots _No response_ ### Reference __NO_ISSUE__ ### Checklist - [x] A milestone is set - [ ] The related issuse has been linked to this branch Reviewed-on: #99 Co-authored-by: SquidSpirit <squid@squidspirit.com> Co-committed-by: SquidSpirit <squid@squidspirit.com>
Backend
Development
SQL Migration
-
Install sqlx
cargo install sqlx-cli
-
Run migration
sqlx migrate run
Run Project
-
Prepare for sql schema setup
cargo sqlx prepare --workspace
-
Run the server
RUST_LOG=debug cargo run
-
(Optional) Hot restart
-
Install
watchexec
-
Run the server with
watchexec
RUST_LOG=debug watchexec -e rs -r 'cargo run'
-