2025-07-26
This commit is contained in:
@@ -17,12 +17,27 @@
|
||||
"console": "integratedTerminal",
|
||||
"envFile": "${workspaceFolder}/.env"
|
||||
},
|
||||
{
|
||||
"name": "Run Uvicorn Django Server",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"module": "uvicorn",
|
||||
"args": ["boxofficefantasy_project.asgi:application", "--reload",],
|
||||
"django": true,
|
||||
"console": "integratedTerminal",
|
||||
"envFile": "${workspaceFolder}/.env"
|
||||
},
|
||||
{
|
||||
"name": "Start Webpack Dev Server",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"program": "npm",
|
||||
"args": ["run", "dev", "--config", "${workspaceFolder}/frontend/webpack.config.js"],
|
||||
"args": [
|
||||
"run",
|
||||
"dev",
|
||||
"--config",
|
||||
"${workspaceFolder}/frontend/webpack.config.js"
|
||||
],
|
||||
"cwd": "${workspaceFolder}/frontend",
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen"
|
||||
@@ -31,7 +46,7 @@
|
||||
"name": "Launch Chrome",
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"url": "http://127.0.0.1:8000", // adjust based on your local server
|
||||
"url": "http://localhost:3000", // adjust based on your local server
|
||||
"webRoot": "${workspaceFolder}",
|
||||
"sourceMaps": true,
|
||||
"trace": true
|
||||
@@ -57,6 +72,26 @@
|
||||
"tasks": {
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Start Redis",
|
||||
"type": "process",
|
||||
"command": "docker",
|
||||
"args": [
|
||||
"run",
|
||||
"--rm",
|
||||
"--name",
|
||||
"redis-boxofficefantasy-dev",
|
||||
"-p",
|
||||
"6379:6379",
|
||||
"redis"
|
||||
],
|
||||
"isBackground": true,
|
||||
"problemMatcher": [],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "🗑️ Delete all Movies",
|
||||
"type": "shell",
|
||||
@@ -124,7 +159,11 @@
|
||||
"other": true,
|
||||
"comments": true,
|
||||
"strings": true
|
||||
},
|
||||
}
|
||||
},
|
||||
"files.exclude": {
|
||||
"**/__pycache__":true,
|
||||
".venv":true
|
||||
},
|
||||
"files.associations": {
|
||||
"*.dj.html": "django-html"
|
||||
|
||||
Reference in New Issue
Block a user