This is the process I use for deploying a Laravel application to Bitbucket. Once I setup the Debian server with Caddy
and PHP-FPM
it is usually ready to go.
- Install Caddy
- Install PHP-FPM
mkdir -p /var/builds/staging.example.com && mkdir -p /var/www
- Create
.env
andstorage
folder in/var/builds/staging.example.com