Skip to content

honza801/django-swiftbrowser

 
 

Repository files navigation

django-swiftbrowser

Build Status

Simple web app build with Django and Twitter Bootstrap to access Openstack Swift.

  • No database needed
  • Works with keystone, tempauth & swauth
  • Support for public containers. ACL support in the works
  • Minimal interface, usable on your desktop as well as on your smartphone
  • Screenshots anyone? See below!

Requirements

Quick Install

  1. Install swiftbrowser:

    pip install django-swiftbrowser

  2. Please make sure that "tempurl" and "formpost" middlewares are activated in your proxy server. Extract from /etc/swift/proxy-server.conf:

    [pipeline:main] pipeline = catch_errors gatekeeper healthcheck proxy-logging cache tempurl formpost tempauth proxy-logging proxy-server

    [filter:tempurl] use = egg:swift#tempurl

    [filter:formpost] use = egg:swift#formpost

  3. Run development server:

    django-admin runserver --settings=swiftbrowser.settings

  4. Open "http://127.0.0.1:8000/" in your browser and use 'account:username' to login (or tenant/project:username if using Keystone).

Running with apache2 mod wsgi

<VirtualHost *:8080>
...
Alias /ajax /path/to/django-swiftbrowser/ajax

WSGIDaemonProcess swiftbrowser processes=2
WSGIProcessGroup swiftbrowser
WSGIScriptAlias / /path/to/django-swiftbrowser/wsgi.py

<Directory /path/to/django-swiftbrowser>
    Require all granted
</Directory>

</VirtualHost>

Screenshots

Login screen Container view Object view

About

Simple web app build with Django and Twitter Bootstrap to access Openstack Swift.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 54.1%
  • HTML 42.9%
  • JavaScript 2.4%
  • Makefile 0.6%