You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pretix django-storages (S3) configuration for staticfiles & media
Pretix django-storages (S3) configuration
This is a quick write-up on how to configure Pretix (based on the Small-scale manual deployment documentation by Pretix) to use S3 (or another supported django-storages backend) to speed up page hits.
The process of this and additional steps to undertake are underlined in Pretix' scaling guide.
I wrote this to make it easier for myself and you to do this again ;)
Create a new directory in /var/pretix, i.e. settings, include this directory in your PYTHONPATH.
Add a custom settings.py by overwriting DJANGO_SETTINGS_MODULE as outlined in the scaling guide
Clean up github repository (set public repositories private, delete forks)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters