skale-me / skale-cli

[DEPRECATED] command line interface for skale

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

skale

Join the chat at https://gitter.im/skale-me/skale-engine Build Status

Create, test, deploy and run distributed NodeJS applications

The skale command is the quickest and easiest way to create distributed scalable applications based on skale-engine and then to execute them either locally or on the cloud.

Install

skale and skale-engine have been tested so far on Unix-like system such as Linux or MacOSX. MS-Windows is not supported.

Assuming you have already installed NodeJS:

sudo npm install -g skale

This installs the skale command globally on your system.

Getting started

To create an application called my_app, simply run

skale create my_app

It will create a directory my_app, populate it with a template (hello world) application my_app.js, and install skale-engine dependency using npm.

You can then go to my_app and run your app using skale test:

cd my_app
skale test

To do something useful, modify your application by editing my_app.js, then run again using skale run.

Under the hood, the skale run commands starts a skale-engine cluster on the the localhost at the first invocation, then simply executes my_app.js. You can check the status of the cluster using the skale status command, and stop it using skale stop.

To go on further details, please refer to documentation and skale examples

Deploying an application

Coming soon

Usage

Usage: skale [options] <command> [<args>]

Create, run, deploy clustered node applications

Commands:
  create <app>          Create a new application
  test [<args>...]      Run application on local host
  deploy [<args>...]    Deploy application on skale cloud
  run [<args>...]       Run application on skale cloud
  status                print status of local skale cluster
  stop                  Stop local skale cluster

Options:
  -h, --help            Show help
  -V, --version         Show version

Community

  • Gitter for support and discussion
  • skale mailing list for general discussion about use and development

License

Apache-2.0

About

[DEPRECATED] command line interface for skale

License:Apache License 2.0


Languages

Language:JavaScript 98.6%Language:Shell 1.4%