mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-16 17:54:06 +00:00
Add node and exif & update entrypoint
This commit is contained in:
@@ -4,9 +4,30 @@ echo "############################################"
|
||||
echo "### InvoiceShelf Development Environment ###"
|
||||
echo "############################################"
|
||||
|
||||
chown -R ${UID}:${GID} /home/invoiceshelf/app
|
||||
chmod +x /home/invoiceshelf/app/artisan
|
||||
cd /home/invoiceshelf/app
|
||||
|
||||
cd /home/invoiceshelf/app && php artisan storage:link
|
||||
chmod 775 storage/framework
|
||||
chmod 775 storage/logs
|
||||
chmod 775 bootstrap/cache
|
||||
|
||||
chown -R ${UID}:${GID} /home/invoiceshelf/app
|
||||
|
||||
chmod +x artisan
|
||||
|
||||
if [ ! -d vendor ]; then
|
||||
composer install
|
||||
fi
|
||||
|
||||
if [ ! -f .env ]; then
|
||||
cp .env.example .env
|
||||
php artisan key:generate --force
|
||||
fi
|
||||
|
||||
if [ ! -d node_modules ]; then
|
||||
npm install
|
||||
npm run build
|
||||
fi
|
||||
|
||||
php artisan storage:link
|
||||
|
||||
exec $@
|
||||
|
||||
Reference in New Issue
Block a user