Input Club web configurator, designed by matt3o.
Switch branches/tags
Nothing to show
Clone or download
#57 Compare This branch is 177 commits ahead of cubiq:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cgi-bin
css
img
js
layouts
lib Added show/hide toggles to the different key groups. Jun 13, 2016
tests
tmp added download May 3, 2015
tools Add firmware compilation version switcher to be able to target old ve… Oct 25, 2017
.babelrc
.gitignore
.travis.yml
Changes
Dockerfile
LICENSE
Procfile
README.md Initial Docker and Travis-CI support Oct 15, 2017
ReleaseNotes.md
dev-watch.js
download.php
editor.html
index.html
layouts.php
package.json
save.php
test_lighttpd.conf

README.md

KiiConf

Travis Status

Visit our IRC channel

KiiConf is composed by two main programs:

  • the editor
  • the configurator

The editor is meant for admins and it is used to generate the layout file for the configurator.

The configurator loads the layout and lets the user configure the keyboard layers.

NOTE: the applications are set up in debug mode by calling the APP constructor with the first parameter set to true. In production it should be set to false or simply undefined.

Environment Setup

Prerequistes

Required

  • Web server (e.g. lighttpd, apache, etc.)
  • php5-cgi
  • cmake >= 2.8
  • arm-none-eabi-gcc (binutils as well)
  • python3
  • git
  • node.js
  • hexdump (bsdmainutils)

Recommended

  • dfu-suffix >= 0.7 (part of dfu-util)

Optional

  • ctags

Intial Dev Setup

  • Enable web server and point it to the KiiConf/dist directory (this directory will get removed and added during build so you may want to make a symbolic link to this directory)
  • Make sure that the following directories have permissions for the web-server to write
    • KiiConf/tmp
    • KiiConf/layouts
  • Then setup the firmware sources. This script can be run anytime you want to update the firmware source version.
cd KiiConf
./update_controller.bash
  • Update npm packages with npm install
  • Finally build the project with gulp (if globally installed) gulp dev

The dev build will create a dist directory and symlink to the controller and tmp directories to allow ensure you do not have to re-build or download them.

Docker Environment

NOTE: Docker environment is not yet complete, but should work well for testing

See Dockerfile for usage examples.

Dependencies

  • docker
  • Make sure docker info is working

Sanity Check

tests/docker_test.bash