From ff3a9eea79c50ef3ff3c3832e015d7b84064327e Mon Sep 17 00:00:00 2001 From: rugk Date: Wed, 16 Oct 2024 21:40:17 +0000 Subject: [PATCH] Improve devcontainer experience by linking sample config as real config --- .devcontainer/postCreateCommand.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.devcontainer/postCreateCommand.sh b/.devcontainer/postCreateCommand.sh index dd613dbe..0f289757 100755 --- a/.devcontainer/postCreateCommand.sh +++ b/.devcontainer/postCreateCommand.sh @@ -1,5 +1,6 @@ #!/bin/sh +ln -s ./conf.sample.php cfg/conf.php composer install --no-dev --optimize-autoloader sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html npm install --global nyc