elenajs-tools
v0.0.4
Published
elenajs-tools =============
Downloads
2
Readme
elenajs-tools
This is a tool to create elenajs archetypes.
##INSTALLATION
The perferred way to install elenajs-tools is globally with
npm install -g elenajs-tools
##USAGE
To create an elenajs application just run the following command
ejs-tools create-app
It's possible to get help for the create-app command adding the option --help
##EXAMPLE
kiuma@kdominator ~/tmp $ ejs-tools
ejs-tools
#USAGE
ejs-tools command <options|--help>
Available commands:
create-app
kiuma@kdominator ~/tmp $ ejs-tools create-app
Application name:> myApp
AMD library name [myApp]:>
ElenaJs library version (1 for latest stable, 2 for development) [1]:> 2
ElenaJs swig plugin version (1 for latest stable, 2 for development) [1]:> 2
Author name:> kiuma
Author email:> kiuma@email
kiuma@kdominator ~/tmp $ cd myApp/
kiuma@kdominator ~/tmp/myApp $ npm update
[email protected] node_modules/elenajs-swig
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/elenajs
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected]
kiuma@kdominator ~/tmp/myApp $ node .
server started on port: 3030
You'll be able to browse your newly created application opening your browser at the following url: http://localhost:3030/
Remember that the application is just a skeleton for your real application, it just avoids the annoying tasks needed when creating an application from scratch.