fix: devocontainer permission fix

This commit is contained in:
Jean Jacques Avril 2025-01-08 20:32:44 +01:00
parent a39b7adfbc
commit b645b52d7e
No known key found for this signature in database
3 changed files with 9 additions and 6 deletions

View File

@ -25,8 +25,10 @@
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
//"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"runArgs": ["--add-host=host.docker.internal:host-gateway"],
"postCreateCommand": "./.devcontainer/setup.sh",
"runArgs": [
"--add-host=host.docker.internal:host-gateway"
],
"postCreateCommand": "/bin/bash ./.devcontainer/setup.sh",
"remoteUser": "vscode",
"updateRemoteUserUID": true,
//"workspaceMount": "",
@ -36,4 +38,4 @@
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh-host,type=bind,consistency=cached"
//"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached"
]
}
}

View File

@ -1,5 +1,7 @@
#!/bin/bash
echo "Worckspace is $PWD"
sudo chmod -R 777 .
## Frontend setup
#if [ -d "frontend-react" ]; then
# echo "Setting up frontend-react..."

View File

@ -97,12 +97,11 @@ Ensure you have the following installed:
- [VisualStudioCode](https://code.visualstudio.com/)
If you dont want to use devcontainers and/or docker you need to install the following dependencies on your own:
- Go
- Dart
- Go (1.21.0)
- Dart (3.6.0-1)
- PostgreSQL
- NodeJS (required for Prisma)
### 🔧 Installation
1. **Clone the repository**: