Skip to content

Commit

Permalink
update config (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos authored Jun 19, 2024
1 parent b4fbf91 commit 8adcf19
Showing 1 changed file with 23 additions and 19 deletions.
42 changes: 23 additions & 19 deletions .submodules/config/configs.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
],
"description": "The devcontainer for a micro-service.",
"devcontainer": {
"postCreateCommand": "sudo chmod u+x ./setup && ./setup",
"postCreateCommand": "sudo chmod u+x scripts/setup && scripts/setup",
"mounts": [
"source=./codeforlife-package-javascript,target=/workspace/codeforlife-package-javascript,type=bind,consistency=cached",
"source=./codeforlife-package-python,target=/workspace/codeforlife-package-python,type=bind,consistency=cached"
Expand All @@ -335,6 +335,19 @@
"name": "package-javascript"
}
]
},
"vscode": {
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "hard-install",
"type": "shell",
"command": "sudo chmod u+x scripts/hard-install && scripts/hard-install",
"problemMatcher": []
}
]
}
}
},
"service.backend": {
Expand All @@ -360,20 +373,12 @@
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "pipenv-install-dev",
"type": "shell",
"command": "pipenv install --dev"
},
{
"label": "migrate-db",
"label": "setup",
"type": "shell",
"dependsOn": [
"pipenv-install-dev"
],
"command": "pipenv run python ./manage.py migrate"
"command": "sudo chmod u+x scripts/setup && scripts/setup",
"problemMatcher": []
}
]
},
Expand All @@ -391,7 +396,7 @@
"runserver",
"localhost:8000"
],
"preLaunchTask": "migrate-db"
"preLaunchTask": "setup"
}
]
}
Expand All @@ -408,13 +413,12 @@
],
"vscode": {
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "start-react-dev-server",
"label": "start-vite-server",
"isBackground": true,
"type": "npm",
"script": "start",
"command": "sudo chmod u+x scripts/run && scripts/run",
"type": "shell",
"options": {
"env": {
"BROWSER": "none"
Expand All @@ -428,11 +432,11 @@
"version": "0.2.0",
"configurations": [
{
"name": "React Dev Server",
"name": "Vite Server",
"type": "chrome",
"request": "launch",
"url": "http://localhost:5173",
"preLaunchTask": "start-react-dev-server"
"preLaunchTask": "start-vite-server"
}
]
}
Expand Down

0 comments on commit 8adcf19

Please sign in to comment.