Pull translations on startup
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
103f4d7625
commit
cce3606bb3
3 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
FROM python:3.11-slim-bullseye
|
||||
|
||||
RUN apt update && apt install -y libpq-dev nginx
|
||||
RUN apt update && apt install -y libpq-dev nginx gettext
|
||||
|
||||
ADD requirements.txt requirements.txt
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
python manage.py migrate
|
||||
python manage.py getlocales
|
||||
python manage.py makemessages -all
|
||||
python manage.py compilemessages -f
|
||||
|
||||
nginx
|
||||
|
||||
|
|
|
@ -174,3 +174,7 @@ EMAIL_USE_SSL = True
|
|||
FRC_CAPTCHA_SECRET = os.getenv('FRC_SECRET')
|
||||
FRC_CAPTCHA_SITE_KEY = os.getenv('FRC_SITEKEY')
|
||||
FRC_CAPTCHA_VERIFICATION_URL = 'https://api.friendlycaptcha.com/api/v1/siteverify'
|
||||
|
||||
|
||||
# Loco translation managment
|
||||
LOCO_API_KEY = os.getenv('LOCO_API_KEY')
|
||||
|
|
Loading…
Reference in a new issue