README
slush-nodewebkit-express-nedb
A simple scaffolding to build a node-webkit app with Express and NeDB
Dependencies
You need install gulp and slush previously to run this generator.
Installation
- To install gulp globally, use:
$ [sudo] npm install -g gulp
- To install slush globally, use:
$ [sudo] npm install -g slush
- Finally, install the generator:
$ [sudo] npm install -g slush-nodewebkit-express-nedb
Usage
To run the generator, use:
$ slush nodewebkit-express-nedb
Extra
This generator have any tasks running with gulp:
To run application in currenty platform, use:
$ gulp run
To zip application, use: (Working in Linux and OSX)
$ gulp zip
To compile application for Windows:
$ [sudo] gulp win
To compile application for OSX:
$ [sudo] gulp osx
To compile application for Linux:
$ [sudo] gulp linux
Observations
If an error occurs with the tasks "gulp osx", "gulp win" or "gulp linux", dont worry, Its just a mismatch in versions of nodewebkit with the compiler, but either way your project will be compiled.