build_deploy.sh 316 Bytes
Newer Older
Frank Kumro's avatar
Frank Kumro committed
1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash
export MIX_TARGET=rpi3
cd ui/assets
node_modules/webpack/bin/webpack.js --mode production
cd ..
mix phx.digest
cd ../fw
source wifi-export.sh
mix deps.clean ui
mix deps.get
mix firmware
Frank Kumro's avatar
Frank Kumro committed
12
#./upload.sh 192.168.2.18 _build/rpi3_dev/nerves/images/lake_effect.fw ~/.ssh/weather_station/id_rsa
Frank Kumro's avatar
Frank Kumro committed
13
mix firmware.burn