From 4e81a41210cbf2c9b0211121492fbf6d9d3c6965 Mon Sep 17 00:00:00 2001 From: Miguel N Date: Mon, 7 Sep 2020 23:22:25 +0100 Subject: [PATCH] Updated installation process --- .env.example | 5 +---- app/Console/Commands/Install.php | 6 +++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index f3c45e3..f897c91 100644 --- a/.env.example +++ b/.env.example @@ -21,9 +21,6 @@ RECAPTCHA_PRIVATE_KEY= RECAPTCHA_VERIFY_URL="https://www.google.com/recaptcha/api/siteverify" # WARNING: Your contact form will be useless if you change this value. Only change this URL if Google updates it. -IPGEO_API_KEY="" -IPGEO_API_URL="" - MOJANG_STATUS_URL="https://status.mojang.com/check" MOJANG_API_URL="https://api.mojang.com" @@ -32,7 +29,7 @@ IPGEO_API_URL="https://api.ipgeolocation.io/ipgeo" ARCANEDEV_LOGVIEWER_MIDDLEWARE=web,auth,can:admin.maintenance.logs.view -RELEASE=staffmanagement@0.2.0 +RELEASE=staffmanagement@0.6.1 SLACK_INTEGRATION_WEBHOOK= diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index 32901a5..d7f81ae 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -99,12 +99,16 @@ class Install extends Command $settings['MAIL_PASSWORD'] = $this->secret('SMTP Password (Input won\'t be seen)'); $settings['MAIL_PORT'] = $this->ask('SMTP Server Port'); $settings['MAIL_HOST'] = $this->ask('SMTP Server Hostname'); + $settings['MAIL_FROM'] = $this->ask('E-mail address to send from: '); $this->info('== Notification Settings (5/6) (Slack) =='); $settings['SLACK_INTEGRATION_WEBHOOK'] = $this->ask('Integration webhook URL'); $this->info('== Web Settings (6/6) =='); - $settings['APP_URL'] = $this->ask('Application\'s URL'); + $settings['APP_URL'] = $this->ask('Application\'s URL (ex. https://where.you.installed.theapp.com): '); + $settings['APP_LOGO'] = $this->ask('App logo (Link to an image): '); + $settings['APP_SITEHOMEPAGE'] = $this->ask('Site homepage (appears in the main header): '); + } while(!$this->confirm('Are you sure you want to save these settings? You can always go back and try again.'));