diff --git a/README.md b/README.md index 7bed4314..e72742b3 100644 --- a/README.md +++ b/README.md @@ -27,18 +27,19 @@ docker compose up --build -d docker compose exec django python manage.py collectstatic --no-input docker compose exec django python manage.py migrate --no-input -# A convenience start-up Django command is there to populate the database with testdata for each app: +# A convenience start-up Django command is there +# to populate the database with testdata docker compose exec django python manage.py populate_users docker compose exec django python manage.py populate_data ``` -After waiting little you'll be able to access all collections at http://localhost/oapif/collections. +After waiting little you'll be able to access all collections at http://0.0.0.0:7180/oapif/collections. Three users are provided out of the box; they can be logged in with through basic authentication; all `123` for password: - `demo_viewer` - `demo_editor` - `admin` -As expected `admin` can access Django Admin at http://localhost/admin. +As expected `admin` can access Django Admin at http://0.0.0.0:7180/admin. ## Use from QGIS @@ -46,7 +47,7 @@ When up and running you can access the REST API from QGIS like this: - Go to `Layers` > `Add layer` > `Add WFS Layer...` - Create a new connection - - URL: `https://localhost/oapif/` + - URL: `https://0.0.0.0:7180/oapif/` - Version: `OGC API - Features` - Click OK and ignore choose to ignore the invalid certificate error and store the exception - You should see the two layers in the list, select them and choose `add`. diff --git a/src/tests/migrations/0001_initial.py b/src/tests/migrations/0001_initial.py index 88f3b329..02afb614 100644 --- a/src/tests/migrations/0001_initial.py +++ b/src/tests/migrations/0001_initial.py @@ -1,4 +1,4 @@ -# Generated by Django 4.2.5 on 2023-10-05 19:10 +# Generated by Django 4.2.5 on 2023-10-06 08:04 import uuid