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.
The needed packages are listed in
requirements.txt, but briefly,
- Django 1.4.2
- Python Imaging Library (PIL)
- Riak Python Client (
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 is licensed under the Apache v2.0 license.