diff service/frontDoorLock/makefile @ 1229:02e4b84821d5

talk to store graph, second button for holding unlocked, etc Ignore-this: c2ae7d756e743c26e5e01d99772899bd darcs-hash:a0750d0bbc4dc7c0f65f63f3e7342b35a175141b
author drewp <drewp@bigasterisk.com>
date Thu, 04 Apr 2019 02:16:22 -0700
parents c87e5c8eb8ab
children
line wrap: on
line diff
--- a/service/frontDoorLock/makefile	Thu Apr 04 02:14:48 2019 -0700
+++ b/service/frontDoorLock/makefile	Thu Apr 04 02:16:22 2019 -0700
@@ -15,5 +15,8 @@
 shell:
 	docker run --rm -it --cap-add SYS_PTRACE --net=host bang6:5000/$(JOB)_x86:latest  /bin/sh
 
-local_run:
-	docker run --rm -it --net=host -v `pwd`/index.html:/opt/index.html bang6:5000/$(JOB)_x86:latest python ./front_door_lock.py 
+local_run: build_image
+	docker run --rm -it --net=host -v `pwd`/index.html:/opt/index.html bang6:5000/$(JOB)_x86:latest python ./front_door_lock.py -v
+
+redeploy: build_image
+	supervisorctl restart $(JOB)_$(PORT)