On Cloud

About

   On Cloud lets you show off your rails app to the world without dealing with the hassles or charges associated with hosting. On Cloud acts as a proxy for your application while it runs on your own machine, punching through NAT and firewalls. No deployment needed, full access to all your local resources, and with automatic reloading on file change fully intact.

   This is not a hosting service. Your app runs locally, we just make it available to the world.

   If you're interested in knowing more about it or helping with the project, these are some resources:

Step 1: Register a Host

Enter a hostname and a password below. If you've already registered one, just enter its hostname and password again to re-fetch the key.

Host.oncloud.org
Password

Step 2: Install the rack-bridge Gem

Rails 3: Add the rack-bridge gem to your Gemfile:

echo 'gem "rack-bridge", :group => :development' >> Gemfile
bundle install

Older Rails: Just install the gem normally:

sudo gem install rack-bridge

Step 3: Store your key

This command will save the key in your user store so you don't have to remember it in the future. You won't have to repeat this step again unless you're on a different machine, in which case you can come back here and enter your host and password again:

bridge-store-key <key>

Step 4: Run your rails app with script/server Bridge

Run your app like normally, except passing it "Bridge" and your oncloud hostname:

Rails 3:

rails server Bridge -b <host>.oncloud.org

Older Rails:

script/server Bridge -b <host>.oncloud.org