Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alexagranov/rightscale_cookbook_app_rails

A Chef cookbook that implements RightScale's LWRP 'app' interface for a generic Rails app server.
https://github.com/alexagranov/rightscale_cookbook_app_rails

Last synced: 24 days ago
JSON representation

A Chef cookbook that implements RightScale's LWRP 'app' interface for a generic Rails app server.

Awesome Lists containing this project

README

        

app_rails
=========

A Chef cookbook that implements RightScale's LWRP 'app' interface for a generic Rails app server.

RightScale has some nice cookbooks for managing servers (attaching/detaching from ELB, monitoring, etc.).

I'd like to boot a new server that fits well into the RightScale ecosystem while still maintaining the ability to remotely deploy the actual app server code via Capistrano.

You should still change your `app/port` input to `3000` (or whatever you like) for a standard Rails app, but this cookbook also exposes
``repo/default/destination``
``web_apache/application_name``

that are used by the 'app' cookbook to create the application root dir. We're not using Apache here but without cloning 'app' cookbook this gets us what we need.

###Recipes
``app_rails::setup_app_user - Setup the user/group account to execute the Rails application.``
``app_rails::setup_server - Configures the server to host a Rails app.``
``app_rails::install_rvm - Installs latest stable RVM with default Ruby.``