better scripts

This commit is contained in:
2025-06-07 12:39:07 +02:00
parent 764393ceaa
commit d0101a66e0
6 changed files with 71 additions and 3 deletions

11
images/init_laravel.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
composer install
# Create .env if it does not exist
if ! [ -e ".env" ] ; then
cp /init/.env .
php artisan key:generate
fi
php artisan migrate --force
php artisan serve --host=0.0.0.0 --port=8000