Coder Social home page Coder Social logo

rediscloud-openshift-quickstart's Introduction

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

rediscloud-openshift-quickstart's People

Contributors

yoav-steinberg avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.