]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update static paths
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 9 Apr 2025 14:40:24 +0000 (07:40 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Wed, 9 Apr 2025 14:40:24 +0000 (07:40 -0700)
.devcontainer/docker-compose.devcontainer.sqlite-tika.yml
.github/workflows/ci.yml
.gitignore
Dockerfile
docs/troubleshooting.md
src-ui/angular.json

index 8aead7fe2c6c122cb28f1696704ec2f68871ff13..b96ab0eb00a1c4de7e7a3b35408aca7151032db7 100644 (file)
@@ -44,7 +44,7 @@ services:
       - ..:/usr/src/paperless/paperless-ngx:delegated
       - ../.devcontainer/vscode:/usr/src/paperless/paperless-ngx/.vscode:delegated # VSCode config files
       - virtualenv:/usr/src/paperless/paperless-ngx/.venv # Virtual environment persisted in volume
-      - /usr/src/paperless/paperless-ngx/src/documents/static/frontend # Static frontend files exist only in container
+      - /usr/src/paperless/paperless-ngx/src/paperless/static/frontend # Static frontend files exist only in container
       - /usr/src/paperless/paperless-ngx/src/.pytest_cache
       - /usr/src/paperless/paperless-ngx/.ruff_cache
       - /usr/src/paperless/paperless-ngx/htmlcov
@@ -58,11 +58,11 @@ services:
       PAPERLESS_TIKA_ENABLED: 1
       PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
       PAPERLESS_TIKA_ENDPOINT: http://tika:9998
-      PAPERLESS_STATICDIR: ./src/documents/static
+      PAPERLESS_STATICDIR: ./src/paperless/static
       PAPERLESS_DEBUG: true
 
     # Overrides default command so things don't shut down after the process ends.
-    command: /bin/sh -c "chown -R paperless:paperless /usr/src/paperless/paperless-ngx/src/documents/static/frontend && chown -R paperless:paperless /usr/src/paperless/paperless-ngx/.ruff_cache && while sleep 1000; do :; done"
+    command: /bin/sh -c "chown -R paperless:paperless /usr/src/paperless/paperless-ngx/src/paperless/static/frontend && chown -R paperless:paperless /usr/src/paperless/paperless-ngx/.ruff_cache && while sleep 1000; do :; done"
 
   gotenberg:
     image: docker.io/gotenberg/gotenberg:8.17
index 56c2fdeec9e5c77765d80f45f358fec9a75be056..1e177ebd6d44812f2878ebf041fc3b11c4276d07 100644 (file)
@@ -430,13 +430,13 @@ jobs:
         name: Export frontend artifact from docker
         run: |
           docker create --name frontend-extract ${{ fromJSON(steps.docker-meta.outputs.json).tags[0] }}
-          docker cp frontend-extract:/usr/src/paperless/src/documents/static/frontend src/documents/static/frontend/
+          docker cp frontend-extract:/usr/src/paperless/src/paperless/static/frontend src/paperless/static/frontend/
       -
         name: Upload frontend artifact
         uses: actions/upload-artifact@v4
         with:
           name: frontend-compiled
-          path: src/documents/static/frontend/
+          path: src/paperless/static/frontend/
           retention-days: 7
 
   build-release:
@@ -476,7 +476,7 @@ jobs:
         uses: actions/download-artifact@v4
         with:
           name: frontend-compiled
-          path: src/documents/static/frontend/
+          path: src/paperless/static/frontend/
       -
         name: Download documentation artifact
         uses: actions/download-artifact@v4
index 452273705af8e189b5281d5a1108226acdfcfb5e..f13c8e43373bd3b28e5182296bb10ed6980c869f 100644 (file)
@@ -94,7 +94,7 @@ scripts/nuke
 /export/
 
 # this is where the compiled frontend is moved to.
-/src/documents/static/frontend/
+/src/paperless/static/frontend/
 
 # mac os
 .DS_Store
index 4a49a9ff2aa0871fa7b345d8c82c55297c0d5b54..c1ea8f785d6b285ef49a01c0b92c47d5ab3f5a8d 100644 (file)
@@ -234,7 +234,7 @@ RUN --mount=type=cache,target=${UV_CACHE_DIR},id=python-cache \
 COPY --chown=1000:1000 ./src ./
 
 # copy frontend
-COPY --from=compile-frontend --chown=1000:1000 /src/src/documents/static/frontend/ ./documents/static/frontend/
+COPY --from=compile-frontend --chown=1000:1000 /src/src/paperless/static/frontend/ ./paperless/static/frontend/
 
 # add users, setup scripts
 # Mount the compiled frontend to expected location
index e9eaa5692fb0bae5fa2ec6796e6e834997a0d413..30ad64bf1611052e564253bdc7acf801184bac97 100644 (file)
@@ -191,7 +191,7 @@ This might have multiple reasons.
     either manually or as part of the docker image build.
 
     If the front end is still missing, make sure that the front end is
-    compiled (files present in `src/documents/static/frontend`). If it
+    compiled (files present in `src/paperless/static/frontend`). If it
     is not, you need to compile the front end yourself or download the
     release archive instead of cloning the repository.
 
index 60c91c3a18f37f3efe8c8f2302d914ac8e20bad3..4f0ab8691cfa579112ed4d23ed72bffa6aeef0a3 100644 (file)
                   "with": "src/environments/environment.prod.ts"
                 }
               ],
-              "outputPath": "../src/documents/static/frontend/",
+              "outputPath": "../src/paperless/static/frontend/",
               "optimization": true,
               "outputHashing": "none",
               "sourceMap": false,