This is an metadata server implementing the IIIF Presentation API (version 1.0).
This is intended to be a complete and up-to-date list of the project's dependencies; versions in requirements.txt reflect what's currently deployed at Harvard. Use of virtualenv is recommended.
- Web server (Tested with Apache2 and mod_wsgi)
- git
- Elasticsearch
- Libraries (with their associated development packages)
- bzip2
- libxml2
- libxslt
- openssl
- sqlite
- Python 2.7
- Python packages (Install with pip)
- django
- elasticsearch
- firebase-token-generator
- lxml
- pysqlite
- python-dotenv
Additionally, sample deployment files for Capistrano and capistrano-django are provided, which depend on:
- Ruby 2.x
- Bundler
These are NOT a requirement for running the app.
This application uses python-dotenv to load environment variables from a .env file, which you must provide for the application to run. An example with all possible settings is provided below:
SECRET_KEY=thirtyPlusRandomCharactersUsedToSignSession # Must be set
ALLOWED_HOSTS=example.com;otherexamplehost.org # semicolon separated list of hosts
DEBUG=True # Only in development - DO NOT SET IN PRODUCTION
ELASTICSEARCH_URL=localhost:9200 # omit for default
ELASTICSEARCH_INDEX=manifests # omit for default