Posts

How to deploy Laravel app on Dokku

Image
How to deploy Laravel Application on Dokku Requirements Git VPS (I recommend Digital Ocean ) In order to deploy a laravel application on dokku , you first need to install dokku on your VPS. Follow the instruction on the link below to install dokku on your VPS. dokku Installation After installation, follow the following instructions. 1. Creation of Laravel Project. To deploy an application, we obviously have to create the application unless already done. To create a laravel application, we first need to install composer (PHP Package Manager). To install composer, go to the following link and follow the instructions: Composer Installation Then run the following command to be able to run composer as a command: mv composer.phar /usr/local/bin/Composer Remember that the above command is ran on a LINUX based OS The next step is to create our Laravel Project called blog with the f...