To set up the development environment for this website, you'll need to install the following on your system:
- Node (v4.2.x) & Npm (nvm usage is advised)
The versions mentioned are the ones used during development. It could work with newer ones. Run
nvm useto activate the correct version.
After these basic requirements are met, run the following commands in the website's folder:
$ npm install
$ npm run serve
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 DS Lisbon sensebox.
This can be changed by setting the correct ids in
Compile the files to the
dist folder ready for production.
$ npm run build