mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
add frontend devcontainer
This commit is contained in:
@@ -8,6 +8,8 @@ devcontainer (either
|
||||
or in your browser via
|
||||
[GitHub Codespaces](https://github.com/features/codespaces)).
|
||||
|
||||
**Note**: If you want to chose a specific .devcontainer within GitHub codespaces select "New with options" and you will be able to select any of the pre-defined devcontainers in this repo.
|
||||
|
||||
### Run pre-commit
|
||||
|
||||
```bash
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"version": "latest"
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "bash .devcontainer/post_create_command.sh",
|
||||
"postCreateCommand": "bash .devcontainer/frontend/post_create_command.sh",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["GitHub.copilot"]
|
||||
|
||||
@@ -4,4 +4,4 @@ pre-commit install
|
||||
# npm install in /website
|
||||
cd website
|
||||
npm install
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user