RedisLabs / rediscloud-ruby-sinatra-sample

Redis Cloud on Sinatra Sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redis Cloud Ruby Sinatra Sample

A Ruby Sinatra sample app that demonstrates Redis Cloud deployment to Heroku.
SET and GET a key, get your db INFO and FLUSH the db.

The app is currently running at: rediscloud-ruby-sinatra-sample.herokuapp.com, and uses Redis Cloud as a backend.

Deploy to Heroku

Instantly deploy it to Heroku:

Deploy

Docker

The app can be run and tested using the Heroku Docker CLI plugin.

Make sure the plugin is installed:

heroku plugins:install heroku-docker

Configure Docker and Docker Compose:

heroku docker:init

And run the app locally:

docker-compose up web

The app will now be available on the Docker daemon IP on port 8080.

You can also use Docker to release to Heroku:

heroku create
heroku docker:release
heroku open

About

Redis Cloud on Sinatra Sample

License:GNU General Public License v3.0


Languages

Language:HTML 77.5%Language:Ruby 22.5%