diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0080ef0..09b79f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,6 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 - - uses: pre-commit/action@v3.0.0 + - uses: actions/checkout@v6.0.1 + - uses: actions/setup-python@v6.1.0 + - uses: pre-commit/action@v3.0.1 diff --git a/application/README.md b/application/README.md index 6aac4a0..d8913cb 100644 --- a/application/README.md +++ b/application/README.md @@ -8,6 +8,8 @@ This is where you'll find the Flask codebase. * [templates](templates) - Holds the template HTML page files * [__init__.py](__init__.py]) - The entrypoint into our app module. It's the first thing that's loaded in the module. +* [course_list.py](course_list.py) - A list of dictionaries containing course data, used to seed the database. +* [forms.py](forms.py) - Where the WTForms classes are defined for handling user input and validation. * [models.py](models.py) - Where the models are defined. This is the link between MongoDB documents in a collection and Python objects of a class. * [routes.py](routes.py) - Where the path routes are defined. diff --git a/docker-compose.yaml b/docker-compose.yaml index 1550253..d77cde5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -14,7 +14,7 @@ services: - mongodb mongodb: - image: mongo:8.2.2 + image: mongo:8.2 container_name: mongodb environment: - PUID=1000 @@ -26,7 +26,7 @@ services: restart: unless-stopped mongo-seed: - image: mongo:8.2.2 + image: mongo:8.2 container_name: mongo-setup links: - mongodb diff --git a/requirements.txt b/requirements.txt index ebaf119..d26d1ac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ itsdangerous==2.2.0 Jinja2==3.1.6 MarkupSafe==3.0.3 mongoengine==0.29.1 -pre-commit==4.5.0 +pre-commit==4.5.1 pymongo>=4.0 python-dotenv==1.2.1 Werkzeug==3.1.4