Compare commits

...

3 Commits

Author SHA1 Message Date
7ac72b91cd Merge pull request 'Bugfixes' (#6) from flask-ML into dev
Reviewed-on: #6
2024-01-20 18:09:34 +01:00
Michael
030d5e432e
readme guides 2024-01-20 18:09:04 +01:00
Michael
80706e2c16
quick bugfix 2024-01-20 18:06:54 +01:00
5 changed files with 14 additions and 6 deletions

View File

@ -1 +1,10 @@
Cat detection Cat detection
Quick guide:
1. run ./scripts/build_image.bat
2. run ./scripts/start.bat
Quick tests guide:
1. run ./scripts/run_tests.bat
Have fun!

View File

@ -13,11 +13,11 @@ if %errorlevel% neq 0 (
exit /b 1 exit /b 1
) )
cd ../docker cd %~dp0
echo Building docker image... echo Building docker image...
docker compose build cat-detection docker-compose -f ../docker/docker-compose.yml build
if %errorlevel% neq 0 ( if %errorlevel% neq 0 (
echo Building cdocker imagew failed. echo Building docker image failed.
exit /b 1 exit /b 1
) )

View File

@ -1,8 +1,6 @@
@echo off @echo off
echo Running unit tests. echo Running unit tests.
set PYTHONPATH=%CD%;%PYTHONPATH%
cd %~dp0 cd %~dp0
pytest ../tests pytest ../tests

View File

@ -1,6 +1,7 @@
@echo off @echo off
chcp 65001 >nul chcp 65001 >nul
cd %~dp0
docker compose -f ../docker/docker-compose.yml up cat-detection -d docker compose -f ../docker/docker-compose.yml up cat-detection -d
if %errorlevel% neq 0 ( if %errorlevel% neq 0 (
echo Starting docker container failed. echo Starting docker container failed.

0
tests/__init__.py Normal file
View File