Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye"
}
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
9 changes: 8 additions & 1 deletion code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Virtual Environment Setup

#### MacOS & Linux
#### MacOS, Linux and GitHub CodeSpaces

```console
$ python3 -m venv env
Expand Down Expand Up @@ -43,4 +43,11 @@ pytest ./deploy/tests/test_main.py
```
python -m http.server 5000
```
### Special Instructions for GitHub CodeSpaces

If you are running on GitHub CodeSpaces, you will need to change the API_URL variable in the index.html to the URL assigned to your CodeSpace.

For example, instead of `const API_URL = 'http://127.0.0.1:8000';`, change to `const API_URL = 'https://opulent-space-acorn-4q4pjwgv9wv27wx-8000.app.github.dev';`

Refer to this [guide](https://docs.github.com/en/codespaces/developing-in-a-codespace/forwarding-ports-in-your-codespace) for more details