nimbus
simple cloud deployment for node apps, follows convention, no lock-in
Last updated 8 years ago by snodgrass23 .
Original npm · Tarball · package.json
$ cnpm install nimbus 
SYNC missed versions from official npm registry.

Prereqs:

  • node.js >= 0.6 (with npm)
  • git
  • Foreman
  • Make
  • an account on heroku, joyent, azure, linode, or rackspace

What the user creates:

  • package.json
  • app code
  • git repository
  • .gitignore
  • Procfile
  • nimbus.json

What the user does:

$ nimbus list

lists all the targets defined in the nimbus.json file

$ nimbus provision serviceName

provisions the service at `serviceName`

- root: add keys to the remote system
- root: upgrade basic systems (build chain, etc)
- root: create user for the service
- local: render scripts for the service
- local: copy rendered scripts to the remote machine
- serviceuser: run the remote scripts

$ nimbus update serviceName

updates the service at `serviceName`
(for example, updating config files, environment settings...)
(should be non-destructive... no risk of losing user data)
(should be fast & not require a restart)

$ nimbus deploy serviceName [branch|hash]

deploys the git branch or hash specified to `serviceName`

- system does a git push to remote
- post-receive hook on remote copies the checked out codebase into a versions/{{gitHash}} directory
- post-receive hook then runs npm install
- if npm install goes okay, post-receive hook does an rsync between the new version and the /current directory running the app
- post-receive hook restarts foreman

TODO:

  • set NODE_ENV to production via .env.json

Current Tags

  • 0.0.28                                ...           latest (8 years ago)

27 Versions

  • 0.0.28                                ...           8 years ago
  • 0.0.26                                ...           8 years ago
  • 0.0.25                                ...           8 years ago
  • 0.0.24                                ...           8 years ago
  • 0.0.23                                ...           8 years ago
  • 0.0.22                                ...           8 years ago
  • 0.0.21                                ...           8 years ago
  • 0.0.20                                ...           8 years ago
  • 0.0.19                                ...           8 years ago
  • 0.0.18                                ...           8 years ago
  • 0.0.17                                ...           8 years ago
  • 0.0.16                                ...           8 years ago
  • 0.0.15                                ...           8 years ago
  • 0.0.14                                ...           8 years ago
  • 0.0.13                                ...           8 years ago
  • 0.0.12                                ...           8 years ago
  • 0.0.11                                ...           8 years ago
  • 0.0.10                                ...           8 years ago
  • 0.0.9                                ...           8 years ago
  • 0.0.8                                ...           8 years ago
  • 0.0.7                                ...           8 years ago
  • 0.0.6                                ...           8 years ago
  • 0.0.5                                ...           8 years ago
  • 0.0.4                                ...           8 years ago
  • 0.0.3                                ...           8 years ago
  • 0.0.2                                ...           8 years ago
  • 0.0.1                                ...           8 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |