Volons Monitor is a 'getting started' trivial web application using Volons NPM to monitor real-time flight. This web application is build with preact.
-
$ volons start
: Starts volons' docker container on your localhost
-
$ npm run dev
: Starts Preact server (More: CLI Commands below)
-
$ mv ./scr/config/index.dev.js ./src/config/index.js
: Then edit index.js to add your own Google Map API Key
-
$ node YourMission.js
: Execute mission using Volons NPM.
# Clone volons/monitor repository
git clone [email protected]:volons/monitor.git
# install dependencies
cd monitor/
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
preact build --no-prerender
# test the production build locally
npm run serve
# run tests with jest and preact-render-spy
npm run test
For detailed explanation on how things work, checkout the CLI Readme.