Skip to content

ncode/otto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Otto - S3 Clone on top of cyclone

  • supporting fs and riak backends for object storage

Requirements:

Usage:

Configuringa otto:

$ vim otto.cfg
[otto]
Port = 4000
#ObjectStorage = storage.FsObjectStorage
ObjectStorage = storage.RiakObjectStorage
#tmp_directory = /tmp/otto

Running otto:

$ twistd -ny otto.tac

Write:

$ curl --request PUT "http://localhost:4000/otto/"
$ curl --data-binary "@otto.py" --request PUT --header "Content-Type: text/plain" "http://localhost:4000/otto/otto.py"

Read:

$ curl "http://localhost:4000/otto/"
$ curl "http://localhost:4000/otto/otto.py"

Delete:

$ curl --request DELETE "http://localhost:4000/otto/otto.py"
$ curl --request DELETE "http://localhost:4000/otto/"

Project Status: Almost testing

Base on https://github.com/gleicon/3s and https://github.com/facebook/tornado/raw/master/tornado/s3server.py

About

S3 Clone on top of cyclone

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 81.7%
  • Shell 12.2%
  • PHP 3.3%
  • Makefile 2.8%