- Node.js - I recommend installing from NodeSource. At https://nodejs.org/en/, says most users should use 10.16.0 (current ver is 12.4.0). Installation instructions at https://github.com/nodejs/help/wiki/Installation
- Elm - version 0.18 for Swagger Elm compatibility
npm install -g [email protected]
- Swagger Elm -
only supports elm version 0.18.
npm -g install ahultgren/swagger-elm#v0.3.0
- Elm Format -
npm install -g [email protected]
- Standard Linux build tools: gnumake, patch, tar, bash
The debug target includes the Elm time traveling debugger in the generated app.
elm package install --yes
make clean && make debug
elm package install --yes
make clean && make
The build can be accessed locally on the development machine by
loading the boom/index.html
file in a browser. By default, the app
expects to find Lifemapper webservices on the same host. This can be
overridden by add the file boom/boomFlagsOverride.js
with the
appropriate values. For example:
var boomFlags = {
apiRoot: "http://yeti.lifemapper.org/api/v2/",
minimumOccurrencePoints: 30,
completedPollingSeconds: 5
};
Note: The boomFlagsOverride.js
is excluded from the generated
tarball.
Unpack the generated boom.tar.gz
in the public html directory of the
LM web server.