https://github.com/iansinnott/slush-express-isinn
Generate Express apps with Slush.
https://github.com/iansinnott/slush-express-isinn
Last synced: 3 months ago
JSON representation
Generate Express apps with Slush.
- Host: GitHub
- URL: https://github.com/iansinnott/slush-express-isinn
- Owner: iansinnott
- Created: 2014-12-12T02:41:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-17T06:59:52.000Z (over 11 years ago)
- Last Synced: 2025-03-20T03:39:45.343Z (over 1 year ago)
- Language: CSS
- Homepage:
- Size: 543 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slush Express Generator
What's included:
* Gulp (obviously)
* Browserify
* Express
* Stylus (with Nib, Jeet & Rupture)
* Jade
* Jshint
* Font Awesome
## Installation
Make sure you already have Slush installed, then:j
```
npm install -g slush-express-isinn
```
## Generate a project base
```
mkdir my-project
cd my-project
slush express-iansinnott
```
After you go through the prompts and everything has been installed simply run gulp to fire things up:
```
gulp
```
This starts a server running on `localhost:3000`. Stylus, Jade and JavaScript files will all be watched and their respective gulp tasks will be run when they're changed.
## Project Structure
Write this...
## Gulp tasks
The gulp structure for this project may be different than what you're used to. It's built in a modular fashion to avoid one large, unmaintainable Gulpfile. For more information on this specific implementation see [this great blogpost][blogpost].
[blogpost]: http://viget.com/extend/gulp-browserify-starter-faq
## TODO
* **Logging:** Borrow from the official express generator to implement a logging solution.
* **Production Server:** Write `bin/www`, which is currently blank.
* **Express Middleware:** Add common express modules such as body parser, favicon, method override, etc.
* **Testing**