$ sudo easy_install pip && sudo pip install dotcloud
$ dotcloud setup
$ dotcloud create dotcloudrack
# Gemfile:
source :rubygems
gem 'rack'
# config.ru:
require 'rubygems'
require 'bundler'
Bundler.setup
class App
def call(env)
[200, {'Content-Type' => 'text/plain'}, ['unk']]
end
end
run App.new
# dotcloud.yml:
www:
type: ruby
$ dotcloud push dotcloudrack
dotcloud open dotcloudrack
って出来てくれるといいな。