An app for learning programming using a basic CoffeeScript drawing API
You can try the app here »
git clone [email protected]:KanoComputing/make-art.git
cd make-art
npm install
Build the app before running it
npm run build
npm start
Open your browser at http://localhost:3000
Run the watch script when developing
npm run watch
To build in the offline mode for Kano OS add these ENV vars:
OFFLINE=true NODE_ENV=production gulp
Since Node JS isn't included by default on the kit and the offline backend is implemented in Python, the easiest way to debug on the kit is to build the static assets on your machine and rsync them over to the kit as follows:
rsync -av make-art "user@ip:~/make-art"
On Kano OS, go to the bin/
directory and launch the kano-draw
script
which will start the server and open a
python-webkit browser with Make
Art.
user@kano-os ~ $ cd ~/make-art/bin
user@kano-os ~ $ cd ./kano-draw