Shared Hosting for Everyone, imagined by developers, for developers.
Discovering the Public CloudThere are a number of ways to install Ruby on Rails application. Here are some examples.
If the application to deploy is available as a package, it can be installed with gem
:
$ gem install radiant
$ radiant myapp
If the code for your application is available on a Git (or Mercurial, SVN etc.) deposit:
$ git clone git://internal.example.com/superman/myapp.git
If you start a new application, you can use rails
:
$ gem install rails
$ rails new myapp
You can install your application in a number of other ways: rsync, FTP etc.
If your application has dependencies (via a Gemfile), you can install them with Bundler:
$ bundle install
You will probably need to change the configuration of your application, e.g. by configuring a database.
Add a Rack site in the Web > Sites section of the administration heading:
www.example.org
(for example)Ruby Rack
/myapp/config.ru
/static=static
If you want to deploy your site in a production environment you need to add environment variables, for example:
RAILS_ENV=production
SECRET_KEY_BASE=Biy2sah8ohsh5ov
Do not copy the key above but generate your own using the rake secret
command.