No description
Find a file
Pim Kunis d6e877137f Remove config in UI.
Merge dev config in UI into firmware config.
2019-08-24 15:22:32 +02:00
firmware Remove config in UI. 2019-08-24 15:22:32 +02:00
morse Fix symbol matching in signal_symbol. 2019-08-17 17:31:29 +02:00
ui Remove config in UI. 2019-08-24 15:22:32 +02:00
.gitignore Port the frontend. 2019-07-14 00:28:47 +02:00
README.md Update readme for secret key base. 2019-07-30 22:12:27 +02:00

esrom

Source code for the esrom geocache.

If you have found the source code before finding the geocache, consider it a hint :)

Setup (for future me)

Building

cd ui/ && export SECRET_KEY_BASE="$(mix phx.gen.secret | tail -1)"
export MIX_ENV=prod && export MIX_TARGET=<device>
cd assets && npm install && node node_modules/webpack/bin/webpack.js --mode production
cd ../ && mix phx.digest
cd ../firmware && mix deps.get
mix firmware
mix firmware.burn # After inserting SD card

Setting morse code

To set the morse code, create a new file under firmware/config, called secrets.exs:

use Mix.Config

config :morse, :morse_message, "...---..."