diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9f2c078..fed6d0c 100755 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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" ] -} +} \ No newline at end of file diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index 106dce6..c5b64b1 100755 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -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..." diff --git a/README.md b/README.md index 5764a36..56ce7ce 100755 --- a/README.md +++ b/README.md @@ -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**: