https://github.com/samdroid-apps/sugar-web-coffee-template
A volo template for a sugar web activity in COFFEE SCRIPT!
https://github.com/samdroid-apps/sugar-web-coffee-template
Last synced: about 1 year ago
JSON representation
A volo template for a sugar web activity in COFFEE SCRIPT!
- Host: GitHub
- URL: https://github.com/samdroid-apps/sugar-web-coffee-template
- Owner: samdroid-apps
- License: apache-2.0
- Created: 2014-03-21T09:02:59.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-23T21:30:35.000Z (about 12 years ago)
- Last Synced: 2025-02-15T23:35:09.812Z (over 1 year ago)
- Language: CoffeeScript
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sugar Web Template - Using COFFEE SCRIPT
A volo template for a sugar web activity in coffeescript! Also the css is using SASS!
Now writing web activities is so much easier!!!!
## How To
1. Go into osbuild:
`~/sugar-build/osbuild shell`
2. Git the template: `git clone https://github.com/SAMdroid-apps/sugar-web-coffee-template`
3. Volo into action: `volo create NEW-ACTIVITY-NAME ./coffee-activity-template`
4. Get something to automatically compile the coffeescript and sass. I recommend
[Koala](http://koala-app.com/)
5. Setup your auto compiler, for Koala just do:
- click `+` -> find your activity's folder -> select js
- click `+` -> find your activity's folder -> select css
- Make sure koala is always running
Now you can go and edit! The files are `index.html`, `css/activity.sass` and `js/activity.js`