Sha256: 09352f83ddd4efbe43f6eb1af28e19b6fc428b4db2194e4f606ff4fa13235522
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
# Mama Cass Mama Cass is a Rails 3 generator to install [cassandra](http://cassandra.apache.org/). It also includes rake tasks for starting cassandra and logging into the cassandra console. ## Installation Add mama cass to your Gemfile: <pre> gem 'mama_cass' </pre> Use bundler to install it: <pre> bundle install </pre> Run the generator to install cassandra (currently version 0.7.0) in your app: <pre> rails g mama_cass:install </pre> 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/cassandra.yaml - keyspace definitions * config/initializers/cassandra.rb - cassandra connection object setup ## Rake tasks <pre> rake cass:start </pre> Start cassandra. Cassandra is run in the foreground and should be stopped via <code>Ctrl+C</code>. <pre> rake cass:console </pre> Start the cassandra console. This will try to connect to the cassandra started via <code>rake cass:start</code>. ## LICENSE Released under the MIT License. See the LICENSE file for further details.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mama_cass-0.0.3 | README.md |