No description
Find a file
dependabot[bot] a046e62a99
Bump lodash from 4.17.14 to 4.17.19 in /ui/assets
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 18:12:00 +00:00
firmware bump versions 2020-03-27 14:09:32 +01:00
morse Add ability to stop the morse. 2019-10-25 13:33:22 +02:00
ui Bump lodash from 4.17.14 to 4.17.19 in /ui/assets 2020-07-17 18:12:00 +00:00
.gitignore Port the frontend. 2019-07-14 00:28:47 +02:00
README.md Merge branch 'master' of github.com:pizzapim/esrom 2019-10-24 21:09:09 +02:00

esrom

Source code for the esrom geocache.

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

built with nerves

Setup (for future me)

dev

  • Run epmd in the background so it can function as a distributed system with the pi.
  • Run cd ui && mix deps.get to install Elixir dependencies.
  • Run cd assets && npm install && cd .. to install npm dependencies.
  • Run mix phx.server to start the server.

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, "...---..."