Initial commit

This commit is contained in:
2024-02-06 00:20:42 +01:00
commit 7d760c25e3
11 changed files with 150 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/bin/sh
if [ -f /application/.nginx-site.conf ]; then
echo " -- Installing nginx website config..."
cp -F /application/.nginx-site.conf /etc/nginx/sites-enabled/default.conf
fi
# scripts at level 00 should not end the framework setup
exit 1

View File

@ -0,0 +1,9 @@
#!/bin/sh
if [ ! -f /application/symfony.lock ]; then
exit 1
fi
echo " == Detected symfony project."
cd /application
/usr/bin/composer install --no-dev --no-cache --optimize-autoloader --no-progress

View File

@ -0,0 +1,9 @@
#!/bin/sh
if [ ! -f /application/composer.json ]; then
exit 1
fi
echo " == Detected composer project."
cd /application
/usr/bin/composer install --no-dev --no-cache --optimize-autoloader --no-progress

View File

@ -0,0 +1,3 @@
#!/bin/sh
echo " ** Sorry, no framework detected."