Added batch scripts to run/develop the app on Windows

This commit is contained in:
Gregory Ballantine 2023-05-08 12:57:03 -04:00
parent 950b12ee10
commit d6a72fcee3
2 changed files with 6 additions and 0 deletions

3
bin/docker-composer.bat Normal file
View File

@ -0,0 +1,3 @@
@ECHO OFF
docker run --rm -w "/usr/src/colossus" -v "%cd%:/usr/src/colossus" --name colossus_composer composer "%*"

3
bin/docker-run.bat Normal file
View File

@ -0,0 +1,3 @@
@ECHO OFF
docker run --rm -d -w "/usr/src/colossus" -v "%cd%:/usr/src/colossus" -p 8080:8080 --name colossus php:8.1 php -S 0.0.0.0:8080 -t public public/index.php