Add activity push notifications and registration patches
This commit is contained in:
@@ -8,7 +8,7 @@ Docker/Compose, Git sowie für Android Node.js/npm, JDK 17, Android SDK und ein
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
docker compose up --build
|
||||
COOKIE_SECURE=false docker compose up --build
|
||||
docker compose logs -f web
|
||||
docker compose down
|
||||
```
|
||||
@@ -19,10 +19,12 @@ Die Web-App läuft auf Port 8080, PostgreSQL im Compose-Netzwerk. Die Datenbank
|
||||
|
||||
```bash
|
||||
docker compose run --rm --no-deps -e METALCIRCLE_TEST_DATABASE=1 \
|
||||
-v "$PWD/app:/app" -v "$PWD/db/migrations:/test-migrations:ro" \
|
||||
-v "$PWD/app:/app" -v "$PWD/db/migrations:/test-migrations:ro" -v "$PWD/db/init:/test-init:ro" \
|
||||
web python -m unittest discover -s tests -v
|
||||
```
|
||||
|
||||
Nur gegen die lokale Testdatenbank ausführen: Die Tests erstellen und entfernen isolierte Schemas. Firebase wird simuliert, Service-Account-Dateien sind dafür nicht nötig. Frontend-Prüfung: `node --test app/tests/native_push.test.cjs`.
|
||||
|
||||
## Android lokal
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user