Mercurial > code > home > repos > homeauto
annotate service/arduinoNode/makefile @ 1147:ef494fe0499f
forgot devices_shared.py
Ignore-this: 210e7777d9d4d11f148bb7e63f5de65a
darcs-hash:8dd34afc9d00fe796f94da254519e22ca1fa7d03
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 04 Apr 2018 14:58:27 -0700 |
parents | 34fa399dc5c9 |
children | 13b2a61650c1 |
rev | line source |
---|---|
1141
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 build_image: |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 (cd /my/proj/homeauto/lib; tar czf /my/site/projects/rdfdb/more.tgz *.py) |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 docker build --network=host -t bang6:5000/arduino_node . |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 docker push bang6:5000/arduino_node |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
5 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
6 shell: |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
7 docker run -it --net=host bang6:5000/arduino_node /bin/sh |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 local_run: |
34fa399dc5c9
docker and makefile for arduinoNode
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 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 |