Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aboutlo/capistrano-template-rails-app

Micro Rails with Unicorn and PostgreSQL deployed via Capistrano on Vagrant Ubuntu 14.04 (soon ec2)
https://github.com/aboutlo/capistrano-template-rails-app

Last synced: 7 days ago
JSON representation

Micro Rails with Unicorn and PostgreSQL deployed via Capistrano on Vagrant Ubuntu 14.04 (soon ec2)

Awesome Lists containing this project

README

        

# README

Simple multi environment (vagrant, testing, staging, production) Rails 4.1.6 app with PostgreSQL

## Setup
- Checkout and configure vagrant box
- Change in `deploy.rb` the application name
- Change in `database.yml` the database name using the applicaito name
- Change in `deploy/testing|staging|produciton.rb` the server ip or dns name


## Deploy

cap vagrant deploy

It deploys to 192.168.33.10

cap testing|staging|production deploy

It deploys to an ec2 istance tagged as `testing_web` | `staging_web` | `production`

TODO
- https://github.com/douglasjarquin/capistrano-ec2tag