Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-rusty authored Sep 20, 2023
1 parent 21f2742 commit d1f695f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
## Actix-SQLX workspace
Includes app that can be deployed on AWS lambda or run in a docker. also includes an example app for sqs events.

### Setup Project

1. Install Rust (https://www.rust-lang.org/tools/install)
2. Make sure Postgres server is running.
2. Make sure the Postgres server is running.
3. Install sqlx-cli `cargo install sqlx-cli`
4. rename `.env.example` to `.env`
5. Run migrations `sqlx migrate run`
6. install cargo watch `cargo install cargo-watch`
7. prepare query cache for sqlx `cargo sqlx prepare --workspace`
8. Install Nextest for testig https://nexte.st/book/pre-built-binaries.html
8. Install Nextest for testing https://nexte.st/book/pre-built-binaries.html
9. Check `Makefile` to start app(s)

0 comments on commit d1f695f

Please sign in to comment.