Skip to content

Commit 00ef8ee

Browse files
committed
working development environment
1 parent ce1e644 commit 00ef8ee

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,10 @@ A few scenarios where this can be useful:
2525

2626
```bash
2727
$ git clone github.com/ncode/tagit
28-
$ go build
29-
$ consul agent -dev &
30-
$ curl --request PUT --data @examples/consul/my-service1.json http://127.0.0.1:8500/v1/agent/service/register
31-
$ ./tagit run --consul-addr=127.0.0.1:8500 --service-id=my-service1 --script=./examples/tagit/example.sh --interval=5s --tag-prefix=tagit
32-
INFO[0000] running command command=./examples/tagit/example.sh service=my-service1
33-
INFO[0000] updating service tags service=my-service1 tags="[v1 tagit-nice tagit-it tagit-works]"
34-
INFO[0005] running command command=./examples/tagit/example.sh service=my-service1
35-
INFO[0010] running command command=./examples/tagit/example.sh service=my-service1
36-
INFO[0015] running command command=./examples/tagit/example.sh service=my-service1
37-
$ ./tagit cleanup --consul-addr=127.0.0.1:8500 --service-id=my-service1 --tag-prefix=tagit
38-
INFO[0000] current service tags service=my-service1 tags="[v1 tagit-nice tagit-it tagit-works]"
39-
INFO[0000] updating service tags service=my-service1 tags="[v1]"
28+
$ cd configs/development
29+
$ make
4030
```
4131

42-
4332
```mermaid
4433
sequenceDiagram
4534
participant tagit

0 commit comments

Comments
 (0)