Add install instructions.
This commit is contained in:
15
README.md
15
README.md
@@ -27,6 +27,21 @@ assumptions about a microservice:
|
|||||||
The `slingshot-microservice` framework handles setting up the RabbitMQ
|
The `slingshot-microservice` framework handles setting up the RabbitMQ
|
||||||
connection, listening to the inbound queue and routing results based on case variables.
|
connection, listening to the inbound queue and routing results based on case variables.
|
||||||
|
|
||||||
|
## Adding The Framework To Your Project
|
||||||
|
|
||||||
|
Add `slingshot-microservice` to your `Cargo.toml` dependencies directly from Codeberg:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[dependencies]
|
||||||
|
slingshot-microservice = { git = "https://codeberg.org/seanhly/slingshot-microservice" }
|
||||||
|
```
|
||||||
|
|
||||||
|
Then fetch and build dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cargo build
|
||||||
|
```
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
|||||||
Reference in New Issue
Block a user