# Mama Cass Mama Cass is a Rails 3 generator to install [cassandra](http://cassandra.apache.org/). It also includes a command line application for starting cassandra and logging into the cassandra console. ## Installation Add mama cass to your Gemfile:
gem 'mama_cass'
Use bundler to install it:
bundle install
Run the generator to install cassandra (currently version 0.6.0) in your app:
rails g mama_cass:install
This installs the following directories and files: * cassandra/server - cassandra server (version 0.6.0) * config/cassandra.yml - includes definitions for development and test keyspaces * config/cassandra/cassandra.in.sh - server start up options * config/cassandra/log4j.properties - log4j configuration * config/cassandra/storage-conf.xml - keyspace definitions * config/initializers/cassandra.rb - cassandra connection object setup ## Command line app
mama_cass start
Start cassandra. Cassandra is run in the foreground and should be stopped via Ctrl+C.
mama_cass console
Start the cassandra console. This will try to connect to the cassandra started via mama_cass start. ## LICENSE Released under the MIT License. See the LICENSE file for further details.