Fixes (hopefully) makemessages command

This commit is contained in:
Mouse Reeve 2021-03-01 09:55:54 -08:00
parent 8bab56dd83
commit 1d206c3739
2 changed files with 3 additions and 2 deletions

View file

@ -10,6 +10,7 @@ WORKDIR /app
COPY requirements.txt /app/ COPY requirements.txt /app/
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
RUN apt-get update && apt-get install -y gettext libgettextpo-dev
COPY ./bookwyrm /app COPY ./bookwyrm /app
COPY ./celerywyrm /app COPY ./celerywyrm /app

4
bw-dev
View file

@ -91,10 +91,10 @@ case "$CMD" in
execweb python manage.py collectstatic --no-input execweb python manage.py collectstatic --no-input
;; ;;
makemessages) makemessages)
django-admin makemessages --extension html --ignore=venv3 $@ execweb django-admin makemessages --extension html --ignore=venv3 $@
;; ;;
compilemessages) compilemessages)
django-admin compilemessages --ignore venv3 $@ execweb django-admin compilemessages --ignore venv3 $@
;; ;;
build) build)
docker-compose build docker-compose build