docker and docker tests

This commit is contained in:
2024-01-28 16:22:24 +03:00
parent 8f48352600
commit 5ced7acef8
12 changed files with 539 additions and 18 deletions

1
scripts/db_prepare.sql Normal file
View File

@@ -0,0 +1 @@
CREATE DATABASE fastfood_db_test WITH OWNER postgres;

View File

@@ -0,0 +1,2 @@
#!/bin/bash
poetry run python manage.py --run-test-server

2
scripts/testing.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
poetry run pytest -vv