-
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
28 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 |
---|---|---|
|
@@ -3,3 +3,31 @@ | |
A microservice for coordinating stateful workload on partitions of data | ||
|
||
![It's a trap!](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExMzEwdDRoaXJvMmgwdG1yejNsa28zNzh3ajI1OWdiYmUxMXZ1anpnaCZlcD12MV9naWZzX3NlYXJjaCZjdD1n/Z1LYiyIPhnG9O/giphy.gif) | ||
|
||
## Clone the repository | ||
|
||
```shell | ||
git clone [email protected]:bespinian/ackbar.git | ||
cd ./ackbar | ||
``` | ||
|
||
## Run locally | ||
|
||
1. Run a local instance of Redis in Docker | ||
|
||
```shell | ||
docker run --name ackbar-redis -d -p 6379:6379 redis | ||
export REDIS_CONNECTION_STRING="localhost:6379" | ||
``` | ||
|
||
2. Run `ackbar` from the source code | ||
|
||
```shell | ||
go run . | ||
``` | ||
|
||
## Run in Kubernetes | ||
|
||
```shell | ||
kubectl apply -f k8s | ||
``` |