This is our first attempt to make a webapp for hanabi.
Install node.js (I installed 5.3.0). Then:
git clone git@github.com:vortic/hanabi.git
cd hanabi
npm install
make # also should go into package.json
open public_html/index.html # or your OS' equivalent command for "open"
Install the dependencies globally:
- node.js (I installed 5.3.0)
- sass (I used the command line for Mac)
- install typescript: sudo npm install -g typescript
- netbeans typescript plugin (the nbm file)
To configure everything, open netbeans:
- follow the instructions to install the netbeans plugin (the text below the code tree)
- open the netbeans preferences (either command + , or NetBeans -> Preferences)
- click the HTML/JS tab
- in CSS Preprocessors tab, set the Sass Path to "/usr/local/bin/sass"
- in the Node.js tab, set the Node Path to "/usr/local/bin/node" and the npm Path to "/usr/local/bin/npm"
- open the hanabi project preferences (right click on the project -> preferences)
- in Sources, set the Site Root Folder to "public_html" (this should be set already, but just in case), Source to "src"
- in CSS Preprocessors, check the "compile Sass Files on Save" option, and make sure the input/output is "/scss" and "/css", respectively
- in JavaScript Frameworks, under TypeScript, check the "Compile on Save" option