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 bowernpm installnpm run-script install-deps- because we use compass for frontend we need ruby and compass
sudo apt-get install rubygem install compass
- in node-webkit native addons have to be built manually
sudo npm install -g nw-gypcd src/app/node/node_modules/FlipperDriver/node_modules/parport2nw-gyp configure --target=0.11.2nw-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
