Create Makefile to synthesize the commands

This commit is contained in:
antoine.roux@zenika.com 2019-02-06 22:17:55 +01:00
parent af7b0773ec
commit be88d23d11

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
run:
@docker-app render | docker-compose -f - up -d --build && docker logs docker_hello_1 -f
rm:
@docker rm -f $$(docker ps -a --format="{{.Names}}")
get:
@etcdctl get /dev/etcd/loaded
put:
@etcdctl put /dev/etcd/loaded 1
del:
@etcdctl del /dev/etcd/loaded