Laravel: Difference between revisions

469 bytes removed ,  3 September 2022
No edit summary
Line 120: Line 120:
==Deployment==
==Deployment==
===Directly===
===Directly===
Point your webserver with PHP to the public folder
Point your webserver with PHP to the public folder.<br>
 
If your application is publically accessible, make sure APP_DEBUG is set to false.
===Heroku===
[https://devcenter.heroku.com/articles/getting-started-with-laravel Laravel on Heroku] 
[https://appdividend.com/2018/04/17/how-to-deploy-laravel-project-on-heroku/ Deploy Laravel on Heroku]
 
# Run <code>heroku create</code>.
# Configure everything.
#* Set <code>heroku config:set LOG_CHANNEL=errorlog</code>
# Create a Procfile and commit it to your git repo.
# Push to heroku with <code>git push heroku master --no-verify</code>
# Open with <code>heroku open</code>
 
;Notes
* Make sure you are using the <code>heroku/php</code> buildpack.
 


==Security==
==Security==