-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |