Keyboard Firmware Builder
Reasons for updating this project so much
- 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
New feature
- 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...
Setup
To set up the project for development, run npm install
in the root of the project to install dependencies.
Create a local.json
file in src/const
, in the format(like me):
{
"DB_URL": "database url",
"DB_NAME": "database name",
"API": "http://localhost:5004"
}
run your own compile server
First, dfu-programmer
and avr-gcc
is required.
$ cd server
$ node index.js
And then http://localhost:5004
is your builder server(look up to local.json)
developing
$ npm run deploy
And then it will auto compile your updating into /static
folder, until you stop this server
preview your work
$npm i -g http-server
$ cd static
$ http-server
voilà, http://127.0.0.1
is your work
deploy
- upload folders
server
andstatic
to your vps - start your builder server(see above)
- http-server or apache or nginx whatever, open a link for
static
Online website
[http://hidoge.cn:8080/qmk-builder/](http://hidoge.cn:8080/qmk-builder/)