From 01ad794bcea45bdeb59ba53b548492472b177738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 24 Dec 2020 15:40:20 +0100 Subject: [PATCH 1/2] generate setup key command --- app/Console/Commands/GenerateSetupKey.php | 45 +++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 app/Console/Commands/GenerateSetupKey.php diff --git a/app/Console/Commands/GenerateSetupKey.php b/app/Console/Commands/GenerateSetupKey.php new file mode 100644 index 000000000000..4634e71647b8 --- /dev/null +++ b/app/Console/Commands/GenerateSetupKey.php @@ -0,0 +1,45 @@ +info('Success! Copy the following content into your .env or docker-compose.yml:'); + $this->warn('base64:' . $randomString); + } +} From 747e34247fa7465739edefd4732413035a1c5eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 24 Dec 2020 15:42:23 +0100 Subject: [PATCH 2/2] add licence info --- app/Console/Commands/GenerateSetupKey.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Console/Commands/GenerateSetupKey.php b/app/Console/Commands/GenerateSetupKey.php index 4634e71647b8..a6631c16caa9 100644 --- a/app/Console/Commands/GenerateSetupKey.php +++ b/app/Console/Commands/GenerateSetupKey.php @@ -1,5 +1,15 @@