mardi 24 juillet 2018

laravel 5.4 deploy to production server

I generate one laravel project . now i need to move the project to the production server. in local i use php artisan serve to run the project.

while move to the production server i change the .env file

APP_ENV=production
APP_DEBUG=false
APP_LOG_LEVEL=debug
APP_URL=http://myserverip

My config/app.php

 'env' => env('APP_ENV', 'production'),

 'debug' => env('APP_DEBUG', false),

 'url' => env('APP_URL', 'http://my ip'),

I run the project in live it displays dirctory files listing in the browser. is any thing extra i need to configure ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire