Deploying CodeIgniter with Deployer
Deploying CodeIgniter is a task we all have to perform at some point, to both test and production environments.
I ran into an issue when trying out Eloquent with CodeIgniter. There was a clash when using the Eloquent package causing Deployer to throw an error.
The cause of the issue was an out of date Deployer version. For this reason I’ve forked Kenjis package and released a version for Deployer 6.1.0. The deploy script needed a rewrite too for Deployer 6 compatibility.
The package can be found on github here, or installed using composer like so:
cd /path/to/codeigniter/ composer require stef686/codeigniter-deployer:[email protected] --dev php vendor/stef686/codeigniter-deployer/install.php
Hopefully this will help you when Deploying CodeIgniter moving forward.