view service/arduinoNode/makefile @ 1142:eb36b30f53b9

move export_to_influxdb up to lib Ignore-this: d43cc183b51bec93b28e6a7ba7bf1d6e darcs-hash:13dd7219f8eb69b32ce9ac7b93d0ff20fcf93e22
author drewp <drewp@bigasterisk.com>
date Sat, 03 Mar 2018 18:08:03 -0800
parents 34fa399dc5c9
children 13b2a61650c1
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 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