]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Development: fix devcontainer postCreateCommand (#8542)
authorOrce MARINKOVSKI <orce00@gmail.com>
Wed, 25 Dec 2024 08:53:30 +0000 (09:53 +0100)
committerGitHub <noreply@github.com>
Wed, 25 Dec 2024 08:53:30 +0000 (08:53 +0000)
.devcontainer/devcontainer.json
src-ui/package.json

index e0fa561096f52ce65a954bde042fdba37d265daf..337c96e3b4dbd525e453400b46f0867b5cce9c7c 100644 (file)
@@ -3,7 +3,7 @@
     "dockerComposeFile": "docker-compose.devcontainer.sqlite-tika.yml",
     "service": "paperless-development",
     "workspaceFolder": "/usr/src/paperless/paperless-ngx",
-    "postCreateCommand": "/bin/bash -c pre-commit install && pipenv install --dev",
+    "postCreateCommand": "pipenv install --dev && pipenv run pre-commit install && pipenv shell",
     "customizations": {
         "vscode": {
             "extensions": [
index 1b7deea1d47b62f1406e4b722849c4a8835bc3ce..50ef7c5dc780df85294d4ee00304ae5d22215707 100644 (file)
@@ -3,7 +3,7 @@
   "version": "0.0.0",
   "scripts": {
     "ng": "ng",
-    "start": "ng serve",
+    "start": "ng serve --host 0.0.0.0",
     "build": "ng build",
     "test": "ng test --no-watch --coverage",
     "lint": "ng lint",