Skip to content

Deployment

Jana Rajakumar edited this page Feb 22, 2018 · 1 revision

Deployment

1. Download and Configure App

  • Download the latest version from git clone https://git.library.utoronto.ca/digitaltoolsmss/iiifAPI.git
  • Modify ALLOWED_HOSTS = ["server_domain_or_IP"] in iiifAPI/settings.py
  • Django uses the STATIC_ROOT and STATICFILES_DIRS setting to determine the directory where these files should go. Run python manage.py collectstatic from the root directory.
  • Modify MONGO_DATABASE_NAME and MONGO_DATABASE_HOST to match the production environment settings.

2. Configure with Apache or NGINX Web Server

Clone this wiki locally