view service/arduinoNode/makefile @ 390:e220d5c875b3

rm some very old code Ignore-this: f0ba6a8f4ff090a561a51e7f9be0931c
author drewp@bigasterisk.com
date Mon, 14 Jan 2019 22:40:23 -0800
parents 8f5a16a55f64
children 12f9f1838fb5
line wrap: on
line source

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 -v `pwd`/config:/opt/config bang6:5000/arduino_node  /bin/bash

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

push_config:
	docker run -it --net=host -v `pwd`/config:/opt/config bang6:5000/arduino_node python pushConfig.py arduino/