A Sinatra based web app to automate submissions to APTrust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.bundle
public
tests
views
.gitignore
.travis.yml
APTrustAuto.rb
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
progress.txt

README.md

APTrust Automation

A Sinatra based web app to automate submissions to APTrust

This software downloads a selection of files from a remote server, creates a BagIt bag based on the APTrust bagging profile, and uploads it to APTrust's S3 receving bucket.

While the software was written for uploading collections to APTrust, it can also be used to upload archives to general Amazon S3 or Glacier stroage.

Software required

How do I get set up?

To run the software you'll need to configure settings in the APTrustAuto.rb file to match your server enviroment.

The software uses rsync over ssh to transfer files from the remote server to the machine running the automation software. For this to work, you'll need to set up public key authentication for the user that runs the server.

After that, run:

bundle install
rackup

The server should be up and running. If you are using Passenger, you'll need to configure it to run the application as the user who you've set up authentication for.

Tests

To run the tests, alter them to match your server enviroment and then run:

bundle exec rake test