mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-03 17:10:10 +08:00
27 lines
788 B
Markdown
27 lines
788 B
Markdown
# devcontainer
|
|
|
|
## example usage
|
|
|
|
Below are some example use cases you might want to run from within the devcontainer (either within VSCode or GitHub Codespaces).
|
|
|
|
### Run pre-commit
|
|
|
|
```bash
|
|
# run pre-commit
|
|
pre-commit run --all-files
|
|
```
|
|
|
|
### Docker compose
|
|
|
|
```bash
|
|
# build the image
|
|
docker compose up --build
|
|
```
|
|
|
|
You should see some docker containers being pulled and activated.
|
|
|
|
Once you see the line `open-assistant-web-1 | Listening on port 3000 url: http://localhost:3000` you should be able to access that port like below:
|
|
|
|

|
|
|
|
 |