Skip to content

Slinto DevStack is my simple automated DevStack for creating Node.js apps including Express.js, Webpack, Babel, Stylus CSS, Jade templates, Mongoose, i18n, Livereloading and more.

Notifications You must be signed in to change notification settings

tomasstankovic/slinto.devstack

Repository files navigation

slinto.devstack() Dependency Status DevDependency Status

Slinto DevStack is my simple automated DevStack for creating Node.js apps including:

Prerequisites

Node.js

npm install -g gulp
npm install -g bower

Installation

git clone git@github.com:slinto/slinto-devstack.git
cd slinto-devstack
npm install && bower install

Workflow

Recommended dev workflow

Run server, nodemon for automatically reload node.js app, livereloading when is jade, js or css changed and run JSHint. Automatic compilation of Stylus code and automatic creating of google deps file.

gulp

Type gulp or gulp server and open localhost:8080 in your browser.

Production build

Compilation of Stylus code, minifying CSS code, image minifying and run Google Closure Compiler.

gulp build

Release build

App building, version bump, commit and push to git repository.

gulp release --version major|minor|patch
or
gulp release -v major|minor|patch

Error: spawn EMFILE on OSX

Call ulimit -n 10240 or gulp set-ulimit. For automatic setup on start, call gulp server-ulimit instead gulp server

License

MIT © Tomáš Stankovič

About

Slinto DevStack is my simple automated DevStack for creating Node.js apps including Express.js, Webpack, Babel, Stylus CSS, Jade templates, Mongoose, i18n, Livereloading and more.

Resources

Stars

Watchers

Forks

Packages

No packages published