forked from dockers/pixelfed
autogen key
This commit is contained in:
parent
6161f2b9b1
commit
f08b986e67
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ cp -r storage.skel/* storage/
|
||||||
if [[ ! -e storage/.docker.init ]];
|
if [[ ! -e storage/.docker.init ]];
|
||||||
then
|
then
|
||||||
echo "Fresh installation, initializing database..."
|
echo "Fresh installation, initializing database..."
|
||||||
|
php artisan key:generate
|
||||||
php artisan migrate:fresh --force
|
php artisan migrate:fresh --force
|
||||||
php artisan passport:install
|
php artisan passport:install
|
||||||
chown www-data:www-data storage/oauth*key
|
chown www-data:www-data storage/oauth*key
|
||||||
|
|
Loading…
Reference in a new issue