- Origin repo had stopped updating and do not reply to any issues since 21 Jan 2017
- Readme for that is not enough for people to make the project work.
- The master of the project seems not familiar with coding in front-end
- support async await
- add localstorage for separate different user
- add database to store configuration for everybody(couch DB)
- add watch file updating to auto compile to .js
- add bulma.io as a new face
- have not done yet...
To set up the project for development, run npm install in the root of the project to install dependencies.
Create a local.js file in src/const, in the format(like me):
module.exports = { 'API': '', 'DB_URL': '', 'DB_TOKEN': '', };
First, dfu-programmer and avr-gcc is required.
$ cd server
$ node index.jsAnd then http://localhost:5004 is your builder server(look up to local.json)
$ npm run deployAnd then it will auto compile your updating into /static folder, until you stop this server
$npm i -g http-server
$ cd static
$ http-servervoilà, http://127.0.0.1 is your work
- upload folders
serverandstaticto your vps - start your builder server(see above)
- http-server or apache or nginx whatever, open a link for
static