2023-09-17 01:09:46 +00:00
|
|
|
{
|
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": {}
|
|
|
|
},
|
2023-09-17 01:09:46 +00:00
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"extensions": [
|
2023-09-27 13:24:53 +00:00
|
|
|
"batisteo.vscode-django",
|
2024-04-14 04:10:45 +00:00
|
|
|
"donjayamanne.python-environment-manager",
|
|
|
|
"ms-python.black-formatter",
|
|
|
|
"ms-python.python",
|
|
|
|
"samuelcolvin.jinjahtml"
|
2023-09-27 13:24:53 +00:00
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"[python]": {
|
2024-04-14 04:10:45 +00:00
|
|
|
"defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
2023-09-27 13:24:53 +00:00
|
|
|
"editor": {
|
|
|
|
"defaultFormatter": "ms-python.black-formatter"
|
2023-09-30 18:57:34 +00:00
|
|
|
},
|
|
|
|
"pipenvPath": "pipenv"
|
2024-04-14 04:10:45 +00:00
|
|
|
},
|
|
|
|
"terminal.integrated.defaultProfile.linux": "zsh"
|
2023-09-27 13:24:53 +00:00
|
|
|
}
|
2023-09-17 01:09:46 +00:00
|
|
|
}
|
|
|
|
},
|
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]
|
2023-09-17 01:09:46 +00:00
|
|
|
}
|