Be Right Back – View Maintenance Mode Laravel

Silahkan dituju dulu folder project laravel, misal:

cd /opt/lampp/htdocs/laravel5/

Ketik di terminal untuk mengaktifkan mode maintenance :

php artisan down

muncul keterangan: “Application is now in maintenance mode.”

silahkan refresh browser Anda:

Selection_001

Ketik di terminal untuk menonaktifkan mode maintenance :

php artisan up

muncul keterangan: “Application is now live.”

Ok, seru kan? alhamdulillah…

sumber:
https://laravel.com/docs/5.2/configuration
http://stackoverflow.com/a/26193652

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s