We are using parport2 low-level driver, which is only available for linux.
- for new ubuntu follow the instructions at https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0
sudo npm install -g grunt-cli bower
npm install
npm run-script install-deps
- because we use compass for frontend we need ruby and compass
sudo apt-get install ruby
gem install compass
- in node-webkit native addons have to be built manually
sudo npm install -g nw-gyp
cd src/app/node/node_modules/FlipperDriver/node_modules/parport2
nw-gyp configure --target=0.11.2
nw-gyp build
grunt build
- The executables can be found at
dist/releases/Pinball2000
Execute the generated executable with sudo. We need root privileges in order to access the parallel port.
grunt hub:test