Deploy Laravel Project On Heroku width Database

Razet
Nov 10, 2020

In this small tutorial, I will guide you on how to deploy Laravel application to the Heroku. Heroku Cloud Application Platform is a Platform as a Service (PaaS) that enables developers to run, build, and operate applications entirely in a cloud.

Heroku is a public PaaS (Platform as a Service) provider that makes it easy to deploy applications written using several technology stacks at no cost.

Steps to Deploy Laravel Project On Heroku:

  1. Install Heroku CLI.
  2. Install the Laravel.
  3. Create a proc file.
  4. Initialize git repo.
  5. Logging into the Heroku terminal.
  6. Create a Heroku app.
  7. Setup the Laravel encryption key.
  8. Push Laravel changes to Heroku.
  9. Configure the Database on Heroku.
  10. Add the project files and run the migration.

--

--