etamity / make-art

App to learn programming using a basic CoffeeScript drawing API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make Art

An app for learning programming using a basic CoffeeScript drawing API

Screenshot of the App

You can try the app here »

Setup

git clone git@github.com:KanoComputing/make-art.git
cd make-art
npm install

Build

Build the app before running it

npm run build

Run

npm start

Open your browser at http://localhost:3000

Develop

Run the watch script when developing

npm run watch

Offline

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

About

App to learn programming using a basic CoffeeScript drawing API

License:GNU General Public License v2.0


Languages

Language:JavaScript 59.2%Language:CSS 24.4%Language:HTML 9.2%Language:Python 6.5%Language:CoffeeScript 0.7%