From 44004894131cefe1cb23db2a3f2b86ebb1a1f111 Mon Sep 17 00:00:00 2001 From: Mark Huot Date: Sat, 18 Nov 2023 13:00:46 +0000 Subject: [PATCH] db access --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cb0eb4e..dacdbd5 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,5 +11,5 @@ ] } }, - "postCreateCommand": "composer install && ./bin/post-clone.sh && cp .env.example .env && php craft install --username=admin --email=michael@bluth.com --password=secret --siteName=pest --siteUrl=http://localhost:8080 --language=en-US && ./bin/post-install.sh" + "postCreateCommand": "composer install && ./bin/post-clone.sh && cp .env.example .env && echo 'CRAFT_DB_SERVER=mysql' >> .env && echo 'CRAFT_DB_DATABASE=pest' >> .env && echo 'CRAFT_DB_PASSWORD=root' >> .env && php craft install --username=admin --email=michael@bluth.com --password=secret --siteName=pest --siteUrl=http://localhost:8080 --language=en-US && ./bin/post-install.sh" }