forked from babybuddy/babybuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.devcontainer.json
41 lines (41 loc) · 1.21 KB
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"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",
"donjayamanne.python-environment-manager",
"mhutchie.git-graph",
"mrorz.language-gettext",
"ms-python.black-formatter",
"ms-python.python",
"samuelcolvin.jinjahtml"
],
"settings": {
"[python]": {
"defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"editor": {
"defaultFormatter": "ms-python.black-formatter"
},
"pipenvPath": "pipenv"
},
"terminal.integrated.defaultProfile.linux": "zsh"
}
}
},
"containerEnv": {
"DJANGO_SETTINGS_MODULE": "babybuddy.settings.development",
"PIPENV_VENV_IN_PROJECT": "1"
},
"postCreateCommand": "pipenv install --dev && npm install --include=dev && gulp migrate",
"forwardPorts": [8000]
}