Skip to content

molgen/mpicms

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 15, 2025 14:43
September 25, 2019 10:39
January 15, 2025 15:14
March 10, 2024 17:03
December 28, 2018 23:43
May 3, 2019 22:31
September 25, 2019 10:39
December 28, 2018 23:43
May 3, 2019 15:50

Requirements

  • Python >= 3.7
  • pip
  • Postgresql >= 11
  • OpenLDAP

Deployment

  • Apache2
  • mod_wsgi

Setup

Set up Python environment

pip install -r requirements/production.txt

Set local settings

Put custom settings in config/settings/local_settings.py

For Django related variables see Django's documentation.

  • DJANGO_SECRET_KEY
  • DATABASE_URL
  • DJANGO_ALLOWED_HOSTS (List)

LDAP

See django-auth-ldap docs.

  • LDAP_SERVER_URI
  • LDAP_USER_DN
  • LDAP_USER_PASSWORD

Run database migrations

  • python manage.py migrate --no-input. See Django docs.

Update translation fields

Update search index

Compile translation

Collect static files

Deployment with Apache and mod_wsgi

See Django docs.