mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-28 13:12:05 +00:00
![Dan Brown](/assets/img/avatar_default.png)
Tested on my machine via fresh dev instance with tests passing. May need old users to drop their old volume data.
16 lines
230 B
Bash
Executable File
16 lines
230 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
env
|
|
|
|
if [[ -n "$1" ]]; then
|
|
exec "$@"
|
|
else
|
|
composer install
|
|
wait-for-it db:3306 -t 45
|
|
php artisan migrate --database=mysql
|
|
chown -R www-data:www-data storage
|
|
exec apache2-foreground
|
|
fi
|