diff service/arduinoNode/makefile @ 1141:34fa399dc5c9

docker and makefile for arduinoNode Ignore-this: bdff7ca263b699f7829da324807a557 darcs-hash:e5ad82fef1f11b07fcb3d6d73bd5d3c8863308d5
author drewp <drewp@bigasterisk.com>
date Sat, 03 Mar 2018 18:01:02 -0800
parents
children 13b2a61650c1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/service/arduinoNode/makefile	Sat Mar 03 18:01:02 2018 -0800
@@ -0,0 +1,10 @@
+build_image:
+	(cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py)
+	docker build --network=host -t bang6:5000/arduino_node .
+	docker push bang6:5000/arduino_node
+
+shell:
+	docker run -it --net=host bang6:5000/arduino_node  /bin/sh
+
+local_run:
+	docker run -it -p 9059:9059 --device=/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A900cepU-if00-port0 --net=host bang6:5000/arduino_node python ./arduinoNode.py -v