slush-nodewebkit-express-nedb

Generate a simple scaffolding to build a node-webkit app with Express and NeDB

Usage no npm install needed!

<script type="module">
  import slushNodewebkitExpressNedb from 'https://cdn.skypack.dev/slush-nodewebkit-express-nedb';
</script>

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

  1. To install gulp globally, use:
$ [sudo] npm install -g gulp
  1. To install slush globally, use:
$ [sudo] npm install -g slush
  1. 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.