-
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
21 additions
and
0 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,4 +1,25 @@ | ||
# zero2prod | ||
|
||
Web application for sending newsletter to subscribers. | ||
Based on the book "Zero To Production In Rust" by Luca Palmieri. | ||
All credits to owner's repository [zero-to-production](https://github.com/LukeMathWalker/zero-to-production) | ||
|
||
# Setup | ||
|
||
Run the following script to setup and run PostgreSQL docker image. | ||
|
||
```shell | ||
./scripts/init_db.sh | ||
``` | ||
|
||
Run the following script to setup and run Redis docker image. | ||
|
||
```shell | ||
./scripts/init_redis.sh | ||
``` | ||
|
||
Run the following to startup the application: | ||
|
||
```shell | ||
cargo run | ||
``` |