Project

carina

0.0
No commit activity in last 3 years
No release in over 3 years
Easily bootstrap Rails on Rackspace's Carina
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 10.0
>= 0
 Project Readme

Carina

This gem will create and help maintain an average Rails-based application's infrastructure needs on Rackspace's Carina offering (GetCarina.com)

Install

Add this to your Gemfile: gem 'carina'

Generate

rails g carina install

Create Carina cluster (FREE)

brew install carina carina create <ClusterName>

Configure

vim carina/config

Quickstart

./carina/deploy bootstrap

Deploying changes

./carina/deploy latest

Backing up Postgresql

./carina/backup postgresql

All Commands

./carina/deploy help

Commands:
  deploy bootstrap       # Build everything (idempotent)
  deploy db_setup        # Rebuild, load, migrate and seed the database
  deploy elasticsearch   # Rebuild the ElasticSearch container
  deploy help [COMMAND]  # Describe available commands or one specific command
  deploy image           # Rebuild the Rails image with current code
  deploy info            # Show the IP and port(s) your application is available
  deploy interlock       # Rebuild the Interlock container
  deploy kibana          # Rebuild the Kibana container
  deploy latest          # Deploy the latest Rails code
  deploy logstash        # Rebuild the Logstash container
  deploy postgres        # Rebuild the Postgresql container


./carina/backup help

Commands:
  backup help [COMMAND]  # Describe available commands or one specific command
  backup postgresql      # Backup Postgresql to file

URLs

  • Main site: http(s):\\<Domain>
  • Kibana: http:\\<Domain>:5601
  • HAProxy: http:\\<Domain>/haproxy?monitor

Caveats

  • This setup requires you access the cluster via domain name. If you're testing locally you can update your /etc/hosts file like so: <ClusterIP> <DomainName>