0.0.28 • Published 11 years ago
nimbus v0.0.28
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
0.0.28
11 years ago
0.0.26
12 years ago
0.0.25
12 years ago
0.0.24
12 years ago
0.0.23
12 years ago
0.0.22
12 years ago
0.0.21
12 years ago
0.0.20
12 years ago
0.0.19
12 years ago
0.0.18
12 years ago
0.0.17
12 years ago
0.0.16
12 years ago
0.0.15
12 years ago
0.0.14
12 years ago
0.0.13
12 years ago
0.0.12
12 years ago
0.0.11
12 years ago
0.0.10
12 years ago
0.0.9
12 years ago
0.0.8
12 years ago
0.0.7
12 years ago
0.0.6
12 years ago
0.0.5
12 years ago
0.0.4
12 years ago
0.0.3
12 years ago
0.0.2
12 years ago
0.0.1
12 years ago