Files
Open-Assistant/.devcontainer/README.md
T

31 lines
809 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:
<img width="640" alt="image" src="https://user-images.githubusercontent.com/2178292/210395676-e9c2aab5-cb54-4ae6-b1eb-ac929fd73607.png">
<img width="640" alt="image" src="https://user-images.githubusercontent.com/2178292/210396207-1b2e259f-4d5d-475d-b225-91e2bd004071.png">