Shared Hosting for Everyone, imagined by developers, for developers.Discovering the Public Cloud
A Ruby on Rails application is deployed at alwaysdata just like any other Rack application. If you are just starting out, this document will guide you through your deployment step by step.
There 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 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
$ 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:
If you want to deploy your site in a production environment you need to add environment variables, for example:
Do not copy the key above but generate your own using the
rake secret command.