Name: DocUpload
Owner: Transparency Toolkit
Description: Upload application for documents in archiving service.
Created: 2018-02-25 15:45:56.0
Updated: 2018-02-25 15:47:55.0
Pushed: 2018-03-01 10:23:18.0
Homepage: null
Size: 17
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a simple document upload form. To use-
Ensure you have sinatra, erb, pry, and dock_integrity_check installed
Set the gpg_recipient key ID and lookingglass_url in the config.ru file
In this directory, run: rackup config.ru
Go to http://localhost:9292/upload/archive_test/ArchiveTestDoc in your browser
Note that “archive_test” determines the project spec (and index where the data is saved) and “ArchiveTestDoc” determines the data source spec used. The project spec parameter should match the config variable in the LookingGlass initializer.
In the final version, this will be passed by the account/project management system (with appropriate checks to ensure the user has permission to upload docs to the project). But because that does not exist yet, we muss pass it as a manual parameter.