Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An image uploader and server based on Riak and Django. Offers short URLs to boot.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 riagi
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 django_riak.py
Octocat-spinner-32 dotcloud.yml
Octocat-spinner-32 manage.py
Octocat-spinner-32 nginx.conf
Octocat-spinner-32 requirements.txt
Octocat-spinner-32 screenshot.png
README.md

riagi

riagi is a sample application using Riak with Django to implement an imgur clone. It uses Riak to store images, thumbnails, image metadata, user profiles, and sessions.

Setup

The needed packages are listed in requirements.txt, but briefly, they are:

  • Django 1.4.2
  • Python Imaging Library (PIL)
  • Riak Python Client (riak)
  • shortuuid

Once you have those packages installed and Riak available on the local host in the default configuration, enable Riak Search on the Riak node, and then run these two commands to install the search indexing hooks:

$ search-cmd install riagi-users
$ search-cmd install riagi-image-metadata

Now start up the server:

$ python manage.py runserver

Open your browser to http://localhost:8000/ to view the app. You should see something like so:

riagi

License

riagi is licensed under the Apache v2.0 license.

Something went wrong with that request. Please try again.