Dashboard for sensor data of a box of opensensemap.org
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Norwin Roosen 19dc2e83e1 add wind & rain sensors 1 неделю назад
.build_scripts Start the measurements :high_brightness::hotsprings::chart_with_upwards_trend: 3 лет назад
app add wind & rain sensors 1 неделю назад
.eslintrc update devDependencies, so things work with current node versions 11 месяцев назад
.gitattributes Start the measurements :high_brightness::hotsprings::chart_with_upwards_trend: 3 лет назад
.gitignore Start the measurements :high_brightness::hotsprings::chart_with_upwards_trend: 3 лет назад
.nvmrc update devDependencies, so things work with current node versions 11 месяцев назад
.travis.yml Start the measurements :high_brightness::hotsprings::chart_with_upwards_trend: 3 лет назад
LICENSE Start the measurements :high_brightness::hotsprings::chart_with_upwards_trend: 3 лет назад
README.md add manifest.json + meta, update icons 11 месяцев назад
gulpfile.js update devDependencies, so things work with current node versions 11 месяцев назад
package.json update devDependencies, so things work with current node versions 11 месяцев назад
yarn.lock update devDependencies, so things work with current node versions 11 месяцев назад

README.md

Devseed Sense

Simple dashboard that taps into the opensensemap api to show the measurements for a specific sensebox.

devseed-sense-dashboard.png

Development environment

To set up the development environment for this website, you’ll need to install the following on your system:

  • Node (v8.9.x) & yarn (nvm usage is advised)

The versions mentioned are the ones used during development. It could work with newer ones. Run nvm use to activate the correct version.

After these basic requirements are met, run the following commands in the website’s folder:

$ yarn install

Getting started

$ yarn serve

Compiles the sass files, javascript, and launches the server making the site available at http://localhost:1337/ The system will watch files and execute tasks whenever one of them changes. The site will automatically refresh since it is bundled with livereload.

The current code will show the values for the Begga sensebox. This can be changed by setting the correct ids in config/production.js

Other commands

Compile the files to the dist folder ready for production.

$ npm run build