changed composer to add build on the serve-dev and serve command; also added echo for apache container, to print the url to the local server

This commit is contained in:
nisch.codes 2025-07-27 20:46:21 +02:00
parent cfdd150ca0
commit 9b726872e6
2 changed files with 6 additions and 5 deletions

View File

@ -18,11 +18,10 @@
"require": {}, "require": {},
"scripts": { "scripts": {
"setup": "php public/index.php run:setup", "setup": "php public/index.php run:setup",
"docker-dev-init": "docker-compose build --build-arg INSTALL_XDEBUG=true", "serve-dev": "docker-compose up -d --build",
"serve-dev": "docker-compose up -d",
"stop-serve-dev": "docker-compose down", "stop-serve-dev": "docker-compose down",
"docker-init": "docker-compose build --build-arg INSTALL_XDEBUG=false", "serve": "docker-compose up -d --build",
"serve": "docker-compose up -d", "stop-serve": "docker-compose down",
"stop-serve": "docker-compose down" "open-brower": "open http://localhost:8000"
} }
} }

View File

@ -13,5 +13,7 @@ echo 'LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so' >> /usr/local/apac
echo '🔧 Aktiviere vhost.conf...' echo '🔧 Aktiviere vhost.conf...'
echo 'Include conf/extra/vhost.conf' >> /usr/local/apache2/conf/httpd.conf echo 'Include conf/extra/vhost.conf' >> /usr/local/apache2/conf/httpd.conf
echo '🌐 open http://localhost:8000 in your browser'
echo "✅ Starte Apache im Vordergrund..." echo "✅ Starte Apache im Vordergrund..."
exec httpd-foreground exec httpd-foreground