Improve devcontainer (#20337)
This commit is contained in:
parent
8a299c88a6
commit
4717ccc34b
2 changed files with 6 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
|||
"onAutoForward": "silent"
|
||||
}
|
||||
},
|
||||
"updateContentCommand": "bin/setup",
|
||||
"updateContentCommand": "bin/setup && bin/rails db:test:prepare RAILS_ENV=test",
|
||||
"postCreateCommand": ".devcontainer/postCreateCommand-init.sh",
|
||||
"postAttachCommand": ".devcontainer/postAttachCommand-init.sh",
|
||||
"customizations": {
|
||||
|
|
@ -38,7 +38,10 @@
|
|||
"Shopify.ruby-lsp",
|
||||
"KoichiSasada.vscode-rdbg",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode"
|
||||
"esbenp.prettier-vscode",
|
||||
"MateuszDrewniak.ruby-test-runner",
|
||||
"firsttris.vscode-jest-runner",
|
||||
"eamodio.gitlens"
|
||||
],
|
||||
"settings": {
|
||||
"terminal.integrated.defaultProfile.linux": "zsh"
|
||||
|
|
|
|||
|
|
@ -14,4 +14,5 @@ if [ -n "$CODESPACE_NAME" ]; then
|
|||
echo "Updating .env file with codespace specific values"
|
||||
echo APP_DOMAIN="${CODESPACE_NAME}-3000.app.github.dev" >> .env
|
||||
echo APP_PROTOCOL=https:// >> .env
|
||||
echo COMMUNITY_NAME="DEV(codespace)" >> .env
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue