Compare commits
No commits in common. "7ac72b91cd35dd4ca49793cfb63fe65b24e2a612" and "290772dfa2b50d9409a410f8cf210378983a9c93" have entirely different histories.
7ac72b91cd
...
290772dfa2
11
README.md
11
README.md
@ -1,10 +1 @@
|
||||
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!
|
||||
Cat detection
|
@ -13,11 +13,11 @@ if %errorlevel% neq 0 (
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
cd %~dp0
|
||||
cd ../docker
|
||||
echo [32mBuilding docker image...[0m
|
||||
docker-compose -f ../docker/docker-compose.yml build
|
||||
docker compose build cat-detection
|
||||
if %errorlevel% neq 0 (
|
||||
echo [31mBuilding docker image failed.[0m
|
||||
echo [31mBuilding cdocker imagew failed.[0m
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
@echo off
|
||||
echo [32mRunning unit tests.[0m
|
||||
|
||||
set PYTHONPATH=%CD%;%PYTHONPATH%
|
||||
|
||||
cd %~dp0
|
||||
pytest ../tests
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
|
||||
cd %~dp0
|
||||
docker compose -f ../docker/docker-compose.yml up cat-detection -d
|
||||
if %errorlevel% neq 0 (
|
||||
echo [31mStarting docker container failed.[0m
|
||||
|
Loading…
Reference in New Issue
Block a user