0.0.7 • Published 5 years ago

shino v0.0.7

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Express Logo

Shino' application generator. The application is built on an [express-generator] platform.

NPM Version NPM Downloads Linux Build Windows Build

Installation

$ npm install -g shino

Quick Start

The quickest way to get started with express is to utilize the executable shino to generate an application as shown below:

Create the app:

$ shino --view=hbs myapp && cd myapp
or  shino myapp

Install dependencies:

$ npm install

Start your app at http://localhost:1993/:

$ npm start

Generate model or controller

$ shino generate model User 

or 

$ shino g model user 
$ shino g controller user 

Socket io

Build real-time application with socketio View example code in App/controllers/HomeController.js

Command Line Options

This generator can also be further configured with the following command line flags.

    --version        output the version number
-e, --ejs            add ejs engine support
    --pug            add pug engine support
    --hbs            add handlebars engine support
-H, --hogan          add hogan.js engine support
-v, --view <engine>  add view <engine> support (dust|ejs|hbs|hjs|jade|pug|twig|vash) (defaults to jade)
    --no-view        use static html instead of view engine
-c, --css <engine>   add stylesheet <engine> support (less|stylus|compass|sass) (defaults to plain css)
    --git            add .gitignore
-f, --force          force on non-empty directory
-h, --help           output usage information

License

MIT