15 lines
383 B
Plaintext
15 lines
383 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
# prepare app
|
|
pushd "${PIXELFED_PATH}"
|
|
chown -R abc:abc storage/
|
|
pixelfed rsync -rog storage-default/* storage/
|
|
pixelfed php artisan storage:link
|
|
pixelfed php artisan config:cache
|
|
pixelfed php artisan horizon:install
|
|
pixelfed php artisan horizon:assets
|
|
pixelfed php artisan route:cache
|
|
pixelfed php artisan view:cache
|
|
pixelfed php artisan optimize
|
|
popd
|