36 lines
896 B
Markdown
36 lines
896 B
Markdown
# Prototool
|
|
|
|
Stupid simple tool for making quick (mostly frontend) prototypes
|
|
|
|
Includes static server with live reload
|
|
|
|
# Usage
|
|
|
|
Requires node, npm and bower.
|
|
|
|
```
|
|
npm install
|
|
bower install
|
|
```
|
|
|
|
Then just run `gulp` and open [localhost:8080](http://localhost:8080)
|
|
|
|
## Code
|
|
|
|
### Coffeescript
|
|
|
|
Coffeescript is great for prototyping, so it's included. Anything in `src/coffee` will be compiled to JS and placed in `public/js`
|
|
|
|
### Less
|
|
|
|
CSS pre-processors are a god-send! Less is simple and you can drop normal CSS into it. Anything in `src/less` will be compiled to CSS and included in `public/css`
|
|
|
|
### Require
|
|
|
|
Require is nice, so it's included. `src/coffee/main.coffee` is the entry point.
|
|
|
|
### Index
|
|
|
|
`/public` is the main webroot here. `index.html` is loaded by default, and is a stripped down version of the H5BP template. Add more as needed.
|
|
|
|
Normalizr and Modernizr are also both included. |