Intercity is our new server management application. It makes you and your team a better Ruby on Rails company by making server management easy. In this preview I’ll show you how easy it is to install a server to run your Ruby on Rails applications.
Intercity saves you the hassle of setting up a server by installing your server for you. It installs the nginx web server, and creates databases and configuration files for hosting Rails apps on your server. And it uses random generated passwords and best deployment practices from the Ruby on Rails community.
I will now walk you through the steps of installing a server with Intercity.
When I log in for the first time, I’m presented with a screen that explains how I am going to install my server. I can dive in right away by using the “Connect your server” button.
The first step is connecting my server. I have chosen a DigitalOcean server but you can use any other VPS vendor or you can use your hardware in your datacenter or network. It’s your choice.
Adding a server takes a few seconds. I only need to tell Intercity the address and the username and password for the root account to log in via SSH.
Now I wait for Intercity to connect with my server over SSH and install an SSH key on the server. It will also install Chef, the server configuration management software Intercity uses to install my server.
Now that my server is connected, I can create a Rails deployment for my application. When I create an application, Intercity will create a directory structure, the database, generate secure passwords and install the correct Ruby version to run the application. There’s no manual action on my end involved.
I enter the name, domain names and Ruby version for the application and add it to my server.
When Intercity is finished setting up my application, I can deploy it. I point my Capistrano configuration to the server address and run the deploy command to deploy my app:
$ cap deploy
It only takes a few minutes to install a server with the correct software and configuration files for running a Ruby on Rails application. In the next preview post I will talk about turning on automatic periodic backups for my application. Be sure to sign up for our mailing list to be notified when we launch.