Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update config #113

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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