Skip to content

A Ruby and Redis-Cloud hosted redis bootstrap for RedHat's OpenShift cloud.

Notifications You must be signed in to change notification settings

kehati/rediscloud-openshift-quickstart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Cloud on OpenShift in 5 Minutes

This git repository helps you easily integrate the Redis Cloud service into your OpenShift apps.

###Step 1. Create OpenShift App###

Create an account at http://openshift.redhat.com/ and set up you local machine with the client tools.

Create a ruby-1.9 application (you can call your application whatever you want)

    rhc app create rediscloudapp ruby-1.9 --from-code git://github.com/openshift-quickstart/rediscloud-openshift-quickstart.git

If --from-code is not recognized, update your rhc gem.

###Step 2. Configure Redis Cloud###

  1. Sign up for a free account at http://redis-cloud.com
  2. Create a redis instance
  3. Retrieve your instance's host, port and optional password
  4. Enter the redis instances info in config.rb
  config = {
    host: 'your_redis_cloud_host_address.com',
    port: 1234, # Your Redis Cloud instance's port number
    password: 'your_redis_instances_password'  # Delete this line if your redis cloud instance has no password
  }

###Step 3. Deploy your app###

    git add .
    git commit -m "my first commmit"
    git push

###Step 4. View your app!###

    http://rediscloudapp-$yournamespace.rhcloud.com

More Information

For Redis-Clouds's developer resources visit http://redis-cloud.com/redis/developers

For general information about using redis see http://redis.io

For info on using redis with other programming languages visit: http://redis.io/clients

For more information on Redis-Cloud visit http://redis-cloud.com

githalytics.com alpha

About

A Ruby and Redis-Cloud hosted redis bootstrap for RedHat's OpenShift cloud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published