mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
compile messages build step
This commit is contained in:
parent
820920839d
commit
729e5ee0e1
@ -63,6 +63,8 @@ WORKDIR /usr/src/paperless/src/
|
|||||||
|
|
||||||
RUN sudo -HEu paperless python3 manage.py collectstatic --clear --no-input
|
RUN sudo -HEu paperless python3 manage.py collectstatic --clear --no-input
|
||||||
|
|
||||||
|
RUN sudo -HEu paperless python3 manage.py compilemessages
|
||||||
|
|
||||||
VOLUME ["/usr/src/paperless/data", "/usr/src/paperless/media", "/usr/src/paperless/consume", "/usr/src/paperless/export"]
|
VOLUME ["/usr/src/paperless/data", "/usr/src/paperless/media", "/usr/src/paperless/consume", "/usr/src/paperless/export"]
|
||||||
ENTRYPOINT ["/sbin/docker-entrypoint.sh"]
|
ENTRYPOINT ["/sbin/docker-entrypoint.sh"]
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
@ -148,7 +148,13 @@ After grabbing the new release and unpacking the contents, do the following:
|
|||||||
|
|
||||||
$ cd src
|
$ cd src
|
||||||
$ pipenv run python3 manage.py migrate
|
$ pipenv run python3 manage.py migrate
|
||||||
|
|
||||||
|
5. Update translation files.
|
||||||
|
|
||||||
|
.. code:: shell-session
|
||||||
|
|
||||||
|
$ cd src
|
||||||
|
$ pipenv run python3 manage.py compilemessages
|
||||||
|
|
||||||
Management utilities
|
Management utilities
|
||||||
####################
|
####################
|
||||||
|
@ -292,6 +292,9 @@ writing. Windows is not and will never be supported.
|
|||||||
|
|
||||||
# This creates the database schema.
|
# This creates the database schema.
|
||||||
python3 manage.py migrate
|
python3 manage.py migrate
|
||||||
|
|
||||||
|
# This creates the translation files for paperless.
|
||||||
|
python3 manage.py compilemessages
|
||||||
|
|
||||||
# This creates your first paperless user
|
# This creates your first paperless user
|
||||||
python3 manage.py createsuperuser
|
python3 manage.py createsuperuser
|
||||||
|
Loading…
x
Reference in New Issue
Block a user