DEPENDENCIES deposit requires the following libraries to be installed: - sqlalchemy <= 0.4.6 - elixir <= 0.5.2 - webob >= 0.9.2 - *web.py >= 0.3 You ought to be able to get the first three by doing a: sudo python setup.py install web.py 0.3 isn't available from cheeseshop yet, so you'll need to fetch and install it manually for now :-( % bzr branch lp:webpy % cd webpy % sudo python setup.py install CONFIGURE AND RUN `cp settings.py.tmpl settings.py` and then modify the dbpath to point to some location where you'd like the sqlite database to live. Create the database schema, and write some initial data to the database: `populate.py`. ./server.py COMMAND LINE To fetch the service document, to see what collections you have: % curl --user "user:pass" --header "Accept: application/atomsvc+xml" http://localhost:8080/ Post a file to a collection called American Memory: % curl --user "user:pass" --data-binary @file.zip --header "Content-type: application/zip" --header "Accept: application/atom+xml" http://localhost:8080/ammem See a list of packages in the American Memory collection: % curl --user "user:pass" --header "Accept: application/atom+xml" http://localhost:8080/ammem Get detailed info for a particular package in the collection: % curl --user "user:pass" --header "Accept: application/atom+xml" http://localhost:8080/ammem/1