Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simplest Multi-project, Capistrano based 1-button deploy

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 models
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rspec
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Capfile
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 boot.rb
Octocat-spinner-32 config.rb
Octocat-spinner-32 config.ru
Octocat-spinner-32 dispatch.rb
README.md

Dispatch

Capistrano deployment with a button

Setup & Go

mkdir projects
mkdir projects/YOUR_PROJECT_NAME
# add deploy.rb and deploy/{staging/production/integration/etc}.rb

thin -d -R config.ru -e production start # defaults to port 3000
APP_ENV=production ruby lib/server.rb

Crack open localhost:3000 (or whatever server you want) and enjoy!

If the websocket server is not running, the logo will be grey. Don't worry! The websocket will reconnect when the server is restarted.

If started without APP_ENV, Dispatch websocket server starts in development and will not actually deploy applications.

Why?

  • I like the culture of having a button for a team to deploy from.
  • I wanted to mess with websockets, mostly
Something went wrong with that request. Please try again.