Laravel - artisan down / Maintenance Mode except own IP

后端 未结 6 1838
Happy的楠姐
Happy的楠姐 2021-02-14 16:38

Currently i am using Laravel5. My question is if if i use the Maintenance mode with

php artisan down

how can say \"the application is down for

6条回答
  •  旧巷少年郎
    2021-02-14 17:06

    Another solution to your problem would be to develop locally, so only you can see the development version of your application. The application which is visible by everyone, the one on your production server, could be set into maintenance mode until you're ready to show it to the world. You can then deploy your application to your server and turn off the maintenance mode.

    What I'm saying, is that automatising this process may not be needed, as you'll probably be present on your server when you're deploying your application, so you can manually turn the mode on and off.

    Developing local can be quite easy using WAMP/MAMP, Laravel's Homestead, Laravel Valet or for experts Laradock. Of course, you can use any.

提交回复
热议问题