Skip to content

Commit 79ad49e

Browse files
author
Ash
committed
add setup instructions
1 parent 9cb2076 commit 79ad49e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

doc/setup.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Local Setup
2+
Install etcd
3+
```
4+
brew install etcd
5+
```
6+
7+
Start etcd
8+
```sh
9+
$ etcd
10+
```
11+
12+
Clone and `cd` into the repo and run
13+
```
14+
go mod tidy
15+
```
16+
17+
Run the doorman server
18+
```
19+
cd go/cmd/doorman
20+
go build
21+
./doorman -logtostderr -config=./config.yml -port=15000 -debug_port=15050 -etcd_endpoints=http://localhost:2379 -master_election_lock=/doorman.master -master_delay=200ms -hostname=localhost
22+
```
23+
24+
Build and run the cli-client
25+
26+
```
27+
cd go/cmd/doorman_shell
28+
go build
29+
./doorman_shell --server=localhost:15000
30+
```

0 commit comments

Comments
 (0)