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
LDAP_SERVER_URI
LDAP_USER_DN
LDAP_USER_PASSWORD
Run database migrations
python manage.py migrate --no-input
. See Django docs.
Update translation fields
python manage.py update_translation_fields
. See wagtail-modeltranslation docs.
Update search index
python manage.py update_index
. See Wagtail docs
Compile translation
python manage.py compilemessages
. See Django docs
Collect static files
python manage.py collectstatic
. See Django docs
Deployment with Apache and mod_wsgi
See Django docs.