Freyr runs on node 12.20.0
. Use nvm for node versioning and to use 12.18.2
:
$ nvm use 12.20.0
Freyr utilizes yarn to build, run, and test the application. To get started, use yarn to install the dependencies and bootstrap any necessary resources:
$ yarn
Freyr can run processes via the command line:
$ yarn run water-plant
Freyr tests should be run using yarn.
$ yarn test
Freyr can upload firmware in firmware/index.ino
via the command line:
$ yarn run flash-device