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

View File

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

View File

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