Last Updated: February 25, 2016
· jaszczda

Setup DigitalOcean's droplet and deploy sample Rails app with minimal efforts

The goal is to set up DigitalOcean's droplet (with full web stack, including nginx, unicorn and postgresql), and deploy Rails app with minimal efforts.

Start with installing vpsb gem

gem install vpsb

Then start the process with:

vpsb i directory_name_where_all_files_will_be_downloaded
cd directory_name_where_all_files_will_be_downloaded
vpsb g

In the last step you will be asked for several questions to provide base configuration

At the end you will have working Rails app.

Process requires creating account in DigitalOcean service.

More information you can find here: