File tree Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change 7
7
mkdir -p /opt/app/storage/logs/
8
8
touch /opt/app/storage/logs/laravel.log
9
9
touch /opt/app/storage/logs/worker.log
10
-
11
10
chown www-data:www-data -R /opt/app/storage
12
11
chown www-data:www-data -R /opt/app/bootstrap/cache
13
12
Original file line number Diff line number Diff line change 2
2
echo " Running via DEV script..."
3
3
cd /opt/app
4
4
5
- # make sure Laravel can write its own files
6
- mkdir -p /opt/app/storage/logs/
7
- touch /opt/app/storage/logs/laravel.log
8
- touch /opt/app/storage/logs/worker.log
9
- chown www-data:www-data -R /opt/app/storage
10
- chown www-data:www-data -R /opt/app/bootstrap/cache
11
-
12
5
# create storage symlink
13
6
php artisan storage:link
14
7
Original file line number Diff line number Diff line change 2
2
echo " Running via PROD script..."
3
3
cd /opt/app
4
4
5
- # make sure Laravel can write its own files
6
- mkdir -p /opt/app/storage/logs/
7
- touch /opt/app/storage/logs/laravel.log
8
- touch /opt/app/storage/logs/worker.log
9
- chown www-data:www-data -R /opt/app/storage
10
- chown www-data:www-data -R /opt/app/bootstrap/cache
11
-
12
5
# migrate and setup database
13
6
wait-for-it.sh mysql:3306
14
7
php artisan migrate --force
You can’t perform that action at this time.
0 commit comments