mirror of
https://github.com/linuxserver/docker-bookstack.git
synced 2026-02-20 02:30:30 +08:00
given that it's the recommended way to generate the code in the docs, redirecting stdout will produce an appkey that will make bookstack crash when it runs. this will affect anyone who is trying to automate the initial steps of deployment. i think this is likely the cause of this issue: https://github.com/BookStackApp/BookStack/issues/5289#issuecomment-2453680653
10 lines
194 B
Bash
Executable File
10 lines
194 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mkdir -p \
|
|
/config/www/framework/{cache,sessions,views} \
|
|
/config/log/bookstack
|
|
|
|
touch /config/log/bookstack/laravel.log
|
|
|
|
php /app/www/artisan key:generate --show --no-ansi
|