Dashboard for sensor data of a box of opensensemap.org
您最多能選擇 25 個主題 主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
 
 
 
 
Norwin cb1cd79162 document query parameters, improve styling 5 年前
.build_scripts Start the measurements 🔆♨️📈 8 年前
app document query parameters, improve styling 5 年前
.eslintrc update devDependencies, so things work with current node versions 6 年前
.gitattributes Start the measurements 🔆♨️📈 8 年前
.gitignore Start the measurements 🔆♨️📈 8 年前
.nvmrc update devDependencies, so things work with current node versions 6 年前
.travis.yml Start the measurements 🔆♨️📈 8 年前
LICENSE Start the measurements 🔆♨️📈 8 年前
README.md add manifest.json + meta, update icons 6 年前
gulpfile.js update devDependencies, so things work with current node versions 6 年前
package.json update devDependencies, so things work with current node versions 6 年前
yarn.lock update devDependencies, so things work with current node versions 6 年前

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