blob: 50b312f0c484046677454ee94f085df6e0be2320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
post_install() {
chown -R http:http /usr/share/webapps/koel/storage /usr/share/webapps/koel/public
printf "==> Edit the .env file at /usr/share/webapps/koel with your chosen\n==> database settings and add the details for your admin account,\n==> then run 'php artisan koel:init --no-assets'.\n==> Finally use 'php artisan serve' to start the server,\n==> and your admin details afterwards.\n==> Use 'php artisan koel:sync' to update your library from the\n==> command line."
}
# post_upgrade() {
# cd /usr/share/webapps/koel
#
# composer install
# php artisan koel:init --no-assets
#
# php artisan serve
# }
|