-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHLAProj.code-workspace
More file actions
153 lines (147 loc) · 3.65 KB
/
Copy pathCHLAProj.code-workspace
File metadata and controls
153 lines (147 loc) · 3.65 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"folders": [
{
"name": "KiNDD Root",
"path": "."
},
{
"name": "Backend (Django)",
"path": "maplocation"
},
{
"name": "Frontend (Vue)",
"path": "map-frontend"
},
{
"name": "iOS App (Swift)",
"path": "chla-ios/CHLA-iOS"
}
],
"settings": {
// Vue/TypeScript
"vue3snippets.enable-compile-vue-file-on-did-save-code": true,
// Python
"python.defaultInterpreterPath": "${workspaceFolder:KiNDD Root}/venv/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.formatting.provider": "black",
"[swift]": {
"editor.defaultFormatter": "vknabel.vscode-swift-format",
"editor.formatOnSave": true
},
// General
"files.exclude": {
"**/__pycache__": true,
"**/*.pyc": true,
"**/node_modules": true,
"**/.git": false,
"**/venv": true
},
"files.watcherExclude": {
"**/venv/**": true,
"**/node_modules/**": true,
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/dist/**": true,
"**/.build/**": true
},
// Editor
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
}
},
"extensions": {
"recommendations": [
// Vue/Frontend
"vue.volar",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
// Python/Django
"ms-python.python",
"ms-python.vscode-pylance",
"batisteo.vscode-django",
// Swift/iOS
"sswg.swift-lang",
"vknabel.vscode-swift-format",
// General
"editorconfig.editorconfig",
"streetsidesoftware.code-spell-checker"
]
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Django Server",
"type": "python",
"request": "launch",
"program": "${workspaceFolder:Backend (Django)}/manage.py",
"args": ["runserver"],
"django": true,
"justMyCode": false
},
{
"name": "Vite Dev Server",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder:Frontend (Vue)}",
"runtimeExecutable": "npm",
"runtimeArgs": ["run", "dev"]
}
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Start All Services",
"dependsOn": ["Start Database", "Start Backend", "Start Frontend"],
"problemMatcher": []
},
{
"label": "Start Database",
"type": "shell",
"command": "docker compose -f docker-compose.local.yml up -d",
"options": {
"cwd": "${workspaceFolder:KiNDD Root}"
}
},
{
"label": "Start Backend",
"type": "shell",
"command": "source ../venv/bin/activate && python3 manage.py runserver",
"options": {
"cwd": "${workspaceFolder:Backend (Django)}"
},
"isBackground": true
},
{
"label": "Start Frontend",
"type": "shell",
"command": "./switch-env.sh dev && npm run dev",
"options": {
"cwd": "${workspaceFolder:Frontend (Vue)}"
},
"isBackground": true
},
{
"label": "Quick Test",
"type": "shell",
"command": "./scripts/quick-test.sh",
"options": {
"cwd": "${workspaceFolder:KiNDD Root}"
}
},
{
"label": "Full Test Suite",
"type": "shell",
"command": "./scripts/test-deployment-locally.sh",
"options": {
"cwd": "${workspaceFolder:KiNDD Root}"
}
}
]
}
}