First commit
This commit is contained in:
21
.devcontainer/devcontainer.json
Normal file
21
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,21 @@
|
||||
i{
|
||||
"name": "Django DevContainer",
|
||||
"dockerComposeFile": "docker-compose.yml",
|
||||
"service": "web",
|
||||
"workspaceFolder": "/workspace",
|
||||
"settings": {
|
||||
"terminal.integrated.defaultProfile.linux": "/bin/bash",
|
||||
"python.pythonPath": "/usr/local/bin/python"
|
||||
},
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
"ms-python.vscode-pylance",
|
||||
"ms-python.flake8"
|
||||
],
|
||||
"postCreateCommand": "pip install -r requirements.txt",
|
||||
"forwardPorts": [8000],
|
||||
"remoteEnv": {
|
||||
"DJANGO_SETTINGS_MODULE": "myproject.settings"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user