0.0.2 • Published 8 years ago

decentraleyes-scaffolding v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

decentraleyes-scaffolding

The decentraleyes-scaffolding CLI application

Getting Started

npm install -g decentraleyes-scaffolding will install the dscaf command line application to your Node.js global path. To update to the latest version, simply repeat this command in a terminal.

Running dscaf

dscaf and pres Enter. You will be presented with a familiar Node.js command line, but that's not the Node.js REPL. That is dscaf waiting for your command(s).

microservice dcdata|nodata (default: dcdata)

The microservice command scaffolds up a new decentraleyes microservice with a MongoDB database model. Answer all questions truthfully, and your microservice module is about a minute away from existing.

  1. Create a new directory for your module
  2. cd into that directory
  3. Run dscaf in your new/empty module directory

When finished, your empty directory should be populated with the following files:

. ├── .gitignore ├── i18n │   └── en-us.json ├── .jshintrc ├── logs ├── package.json ├── service.js ├── service-options.json └── service-tests.js

0.0.2

8 years ago

0.0.1

8 years ago