![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.
[sudo] npm install -g nscale
nscale depends on nodejs, npm and git.
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!
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`
Ensure that your ~/.gitconfig settings include a username and email.
By default, login uses the username and email defined in ~/.gitconfig and that is all that is required.
nsd login
nsd system clone [email protected]:nearform/nscaledemo.git
nsd container build nscaledemo web
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>
Get the boot2docker ipaddress from a terminal type: boot2docker ip
open http://<ipaddress>:8000
open http://localhost:9000
nsd server logs
nsd server logs api.log
nsd server logs web.log
nsd help
Copyright (c) 2014 Nearform and other contributors
Licensed under the Artistic License 2.0