Skip to content

Commit

Permalink
add mspython and prettier to devcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
bitplane committed Feb 12, 2023
1 parent e090d08 commit 7d14f84
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .devcontainer/backend-dev/devcontainer.json
Expand Up @@ -9,7 +9,11 @@
"postCreateCommand": ".devcontainer/backend-dev/post_create_command.sh",
"customizations": {
"vscode": {
"extensions": ["GitHub.copilot"]
"extensions": [
"GitHub.copilot",
"ms-python.python",
"esbenp.prettier-vscode"
]
}
}
}
4 changes: 1 addition & 3 deletions .devcontainer/backend-dev/post_create_command.sh
Expand Up @@ -12,9 +12,7 @@ pip install -r requirements.txt
cd ..

# install code in editable mode in /oasst-shared
cd oasst-shared
pip install -e .
cd ..
pip install -e ./oasst-shared[dev]

# docker compose up for backend-dev
docker compose up backend-dev --build --attach-dependencies -d
Expand Down
6 changes: 5 additions & 1 deletion .devcontainer/devcontainer.json
Expand Up @@ -9,7 +9,11 @@
"postCreateCommand": ".devcontainer/post_create_command.sh",
"customizations": {
"vscode": {
"extensions": ["GitHub.copilot"]
"extensions": [
"GitHub.copilot",
"ms-python.python",
"esbenp.prettier-vscode"
]
}
}
}
2 changes: 1 addition & 1 deletion .devcontainer/frontend-dev/devcontainer.json
Expand Up @@ -9,7 +9,7 @@
"postCreateCommand": ".devcontainer/frontend-dev/post_create_command.sh",
"customizations": {
"vscode": {
"extensions": ["GitHub.copilot"]
"extensions": ["GitHub.copilot", "esbenp.prettier-vscode"]
}
}
}

0 comments on commit 7d14f84

Please sign in to comment.