generator-express-simple
v0.8.0
Published
An express generator for Yeoman
Downloads
30
Maintainers
Readme
generator-express-simple
A simple express generator for Yeoman.
Getting Started
If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.
Overview
The generator comes with jquery and Bootstrap.
Newly added functionality is the ability to choose between express 3.x setup and express 4.x.
Get to know more about express 4.x over here and here.
Express-generator-simple supports these css preprocessors :
and these view engines :
Added support for the Gruntfile in either coffeescript or javascript Currently working on choosing between gulp and grunt as the build tool
Installing
install generator-express-simple by running
npm install -g generator-express-simple
Usage
yo express-simple [appname]
appname - optional
Now your app is ready to be run.
Running
Removed nodemon from the build task because the new version of nodemon eats up a lot of memory. Install version 0.7.10 of nodemon:
npm i -g [email protected]
and to start the application run
nodemon -L --watch [folder] --watch [another folder] --debug app.js
For more information on using the version 0.7.10 of nodemon check it out over here
If you are using gulp as your build tool, you will have to start the node inspector tool from another terminal by running
node-inspector --save-live-edit --web-port=[Number] --hidden=[Array]
Then in another terminal run
grunt
or
gulp
to watch and build the application depending on the build tool you chose
Contributing
- Fork it
- Create your feature branch
git checkout -b feature-name
- Commit your changes
git commit -am "add your feature"
- Push to the branch
git push origin feature-name
- Create pull request
Make sure the tests are passing and send a pull request.