Skip to content

Commit 60ea334

Browse files
authored
create storage symlink
1 parent 278575f commit 60ea334

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

home/app/run-dev.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
echo "Running via DEV script..."
33
cd /opt/app
44

5-
# Make sure Laravel can write its own files
5+
# make sure Laravel can write its own files
66
mkdir -p /opt/app/storage/logs/
77
touch /opt/app/storage/logs/laravel.log
88
touch /opt/app/storage/logs/worker.log
99
chown www-data:www-data -R /opt/app/storage
1010
chown www-data:www-data -R /opt/app/bootstrap/cache
1111

12+
# create storage symlink
13+
php artisan storage:link
14+
1215
# install dependencies
1316
composer install --prefer-dist --no-progress --no-interaction
1417
yarn

0 commit comments

Comments
 (0)