From cac5c93b8743542ed59004f863ac3e59a8d2f147 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Sun, 4 Feb 2018 17:19:48 +0000 Subject: [PATCH] Changed .env to production and cache config and route --- .env | 6 +++--- app/Providers/AppServiceProvider.php | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 91a2e8bb..15f043c7 100644 --- a/.env +++ b/.env @@ -1,7 +1,7 @@ -APP_NAME=IFAI -APP_ENV=local +APP_NAME=Heimdall +APP_ENV=production APP_KEY=base64:I206O8ibx+GQyRE7BeOxDobn04Mfmyyc5Ptzns/C0mY= -APP_DEBUG=true +APP_DEBUG=false APP_LOG_LEVEL=debug APP_URL=http://localhost diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 4942734b..0718d5dd 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -19,6 +19,9 @@ class AppServiceProvider extends ServiceProvider touch(database_path(env('DB_DATABASE'))); Artisan::call('migrate', array('--path' => 'database/migrations', '--force' => true)); Artisan::call('storage:link'); + //Cache + Artisan::call('config:cache'); + Artisan::call('route:cache'); } }