https://github.com/3on/stacks-template
https://github.com/3on/stacks-template
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/3on/stacks-template
- Owner: 3on
- Created: 2012-10-19T01:27:20.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2013-03-14T16:46:59.000Z (over 13 years ago)
- Last Synced: 2025-01-15T05:06:49.735Z (over 1 year ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Template for dotCloud's Hello World boiler plate stacks
##What, Why
The way this template works is quite simple.
Each boiler plate is striped down to the maximum, we do not wish to add any html in it. To keep them simple, and free from non useful data.
Therefore the only thing we allow us, is to have a script tag calling a script which this repo is all about.
##How it works
* `hello.html` is a a stack boiler plate typical output.
* `template.html` contains template of the desired richer html output.
* `inject.js` the script that does the work of injecting the html.
* `compile.js` a node.js build script used to compile the template into an inline strings, and compact the all thing.
##Build
To build `inject.min.js` execute `npm install` to get the node dependencies and then `./compile.js` and voilà!