Code Monkey home page Code Monkey logo

skale-cli's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.