Skip to content
Draft
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
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,26 @@ als Testframework wird **pytest** verwendet
* Über Pytest werden Unit- und Integrationtests ausgeführt und ein Coverage-Report zurückgegeben


# Test manuell lokal ausführen

```bash
docker-compose up
```

Neue Konsole:

```bash
# start a virtual environment, e.g., mkvirtualenv geosoft
pip install -r req.txt


pytest
```

[currently fails with xarray not found]

Now let's see if the API is up:

```bash
curl http://localhost:8080/api/va/jobs
```

8 changes: 3 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.9"
version: "3.8"
services:
frontend:
image: felixgi1516/geosoft2_frontend:latest
Expand Down Expand Up @@ -42,8 +42,7 @@ services:
environment:
- DOCKER=True
depends_on:
frontend:
condition: service_started
- frontend
# ports:
# - 80
volumes:
Expand All @@ -53,8 +52,7 @@ services:
environment:
- DOCKER=True
depends_on:
frontend:
condition: service_started
- frontend
# ports:
# - 80
volumes:
Expand Down