Laravel app ready for production mode - How To - Hallo sahabat Tinta Network, Pada Artikel yang anda baca kali ini dengan judul Laravel app ready for production mode - How To, kami telah mempersiapkan artikel ini dengan baik untuk anda baca dan ambil informasi didalamnya. mudah-mudahan isi postingan yang kami tulis ini dapat anda pahami. baiklah, selamat membaca.
Judul : Laravel app ready for production mode - How To
link : Laravel app ready for production mode - How To
Anda sekarang membaca artikel Laravel app ready for production mode - How To dengan alamat link https://tintanetwork.blogspot.com/2023/05/laravel-app-ready-for-production-mode.html
Judul : Laravel app ready for production mode - How To
link : Laravel app ready for production mode - How To
Laravel app ready for production mode - How To
Laravel - What steps should one take to make a
Laravel app ready for production mode
- Apply changes to
.env
file:APP_ENV=production
APP_DEBUG=false
- Make sure that you are optimizing Composer's class autoloader map (docs):
composer dump-autoload --optimize
- or along install:
composer install --optimize-autoloader --no-dev
- or during update:
composer update --optimize-autoloader
Optimizing Configuration Loading:
php artisan config:cache
Optimizing Route Loading
php artisan route:cache
- Compile all of the application's Blade templates:
php artisan view:cache
Cache the framework bootstrap files:
php artisan optimize
(Optional) Compiling assets (docs):
npm run production
(Optional) Generate the encryption keys Laravel Passport needs (docs):
php artisan passport:keys
(Optional) Start Laravel task scheduler by adding the following Cron entry (docs):
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
(Optional) Install, config and start the Supervisor (docs):
- (Optional) Create a symbolic link from
public/storage
tostorage/app/public
(docs): php artisan storage:link
Terima kasih telah berkunjung di blog Tinta Network.
Demikianlah Artikel Laravel app ready for production mode - How To
Sekianlah artikel Laravel app ready for production mode - How To kali ini, mudah-mudahan bisa memberi manfaat untuk anda semua. baiklah, sampai jumpa di postingan artikel lainnya.
Anda sekarang membaca artikel Laravel app ready for production mode - How To dengan alamat link https://tintanetwork.blogspot.com/2023/05/laravel-app-ready-for-production-mode.html
Posting Komentar