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: 6 months ago
JSON representation
Micro Rails with Unicorn and PostgreSQL deployed via Capistrano on Vagrant Ubuntu 14.04 (soon ec2)
- Host: GitHub
- URL: https://github.com/aboutlo/capistrano-template-rails-app
- Owner: aboutlo
- Created: 2014-11-06T00:25:59.000Z (over 11 years ago)
- Default Branch: develop
- Last Pushed: 2022-07-21T23:57:27.000Z (almost 4 years ago)
- Last Synced: 2024-12-29T11:16:24.705Z (over 1 year ago)
- Language: Ruby
- Size: 39.1 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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