Giter Club home page Giter Club logo

nscale's Introduction

nscale

![Gitter](https://badges.gitter.im/Join Chat.svg)

A toolkit for application deployments and container management

nscale is an open source project to configure, build and deploy a set of connected containers to constitute a working platform for distributed applications.

Need docs? Check out our wiki.

Checkout the workshop to learn and use nscale in your projects.

Install

[sudo] npm install -g nscale

nscale depends on nodejs, npm and git.

Run boot2docker on Mac OS X

If you are on Mac OS X, you need to start boot2docker

boot2docker up

Follow the instructions given by boot2docker to set your DOCKER_HOST environment variable!

Running nscale

nsd server start

If you are running on Linux, you need to add yourself to the docker group before running any nsd command. To do that:

sudo usermod -G docker -a `whoami`

Getting started

Ensure that your ~/.gitconfig settings include a username and email.

Login

By default, login uses the username and email defined in ~/.gitconfig and that is all that is required.

nsd login

Clone nscale demo

nsd system clone [email protected]:nearform/nscaledemo.git

Build web container

nsd container build nscaledemo web

Deploy nscale demo

Deploy the latest revision:

nsd revision deploy nscaledemo latest

or deploy any revision, by replacing <revision_id> with the a revision shown by the revision list command.

nsd revision list nscaledemo
nsd revision deploy nscaledemo <revision_id>

Open nscale demo in the browser

Get the boot2docker ipaddress from a terminal type: boot2docker ip

open http://<ipaddress>:8000

Open web gui

open http://localhost:9000

Logs

nsd server logs
nsd server logs api.log
nsd server logs web.log

Help

nsd help

License

Copyright (c) 2014 Nearform and other contributors

Licensed under the Artistic License 2.0

nscale's People

Contributors

mcollina avatar chico avatar pelger avatar mmalecki avatar shakywakey avatar dberesford avatar gitter-badger avatar

Stargazers

Mauro avatar

Watchers

James Cloos avatar  avatar

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.