mybuddy/.devcontainer.json

40 lines
1.2 KiB
JSON
Raw Normal View History

{
2024-04-14 04:10:45 +00:00
"name": "babybuddy",
"image": "mcr.microsoft.com/devcontainers/python:3",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/node:1": {
"version": "18"
},
"ghcr.io/devcontainers-contrib/features/gulp-cli:2": {},
"ghcr.io/devcontainers-contrib/features/pipenv:2": {}
},
"customizations": {
"vscode": {
"extensions": [
"batisteo.vscode-django",
2024-04-14 04:10:45 +00:00
"donjayamanne.python-environment-manager",
"ms-python.black-formatter",
"ms-python.python",
"samuelcolvin.jinjahtml"
],
"settings": {
"[python]": {
2024-04-14 04:10:45 +00:00
"defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"editor": {
"defaultFormatter": "ms-python.black-formatter"
},
"pipenvPath": "pipenv"
2024-04-14 04:10:45 +00:00
},
"terminal.integrated.defaultProfile.linux": "zsh"
}
}
},
2024-04-14 04:10:45 +00:00
"containerEnv": {
"DJANGO_SETTINGS_MODULE": "babybuddy.settings.development",
"PIPENV_VENV_IN_PROJECT": "1"
},
"postCreateCommand": "pipenv install --dev && npm install --include=dev && gulp migrate",
"forwardPorts": [8000]
}