Browse Source

Changed .env to production and cache config and route

pull/11/head
KodeStar 7 years ago
parent
commit
cac5c93b87
  1. 6
      .env
  2. 3
      app/Providers/AppServiceProvider.php

6
.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

3
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');
}
}

Loading…
Cancel
Save