Memcached Cloud Django Sample

by RedisLabs

GitHub Readme.md

Memcached Cloud Django Sample

A Django sample app that demonstrates Memcached deployment to Heroku.
SET, GET and DELETE a key, and get your bucket's STATS.

The app is currently running at: memcachedcloud-django-sample.herokuapp.com, and uses Memcached 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