Include Deployer
-
It would fantastic to see deployer included as part of Laragon. https://deployer.org/blog/how-to-deploy-laravel
-
@servicesgo : I will consider to include it in next version of Laragon - will keep you posted.
-
@leokhoa Thank you, until then do you know how I might go about getting deployer to work under Laragon? I've copied the dep binary file from an install on the server to
C:\laragon\bin\dep and added to my path C:\laragon\bin\dep but php dep -V or dep -V doesnt work.
-
@servicesgo : I guess your dep binary is for Linux or you did something wrong.
REMOVE
your dep and here's how:- Download
deployer.phar
: https://deployer.org/deployer.phar and put it to C:\laragon\bin - Create
C:\laragon\bin\dep.bat
file with below content:
@ECHO OFF php "%~dp0deployer.phar" %*
That's it.
- Download
-
Here is the screenshot:
-
You can run this 1-liner for quick setup (Remember to remove your former dep):
cd C:\laragon\bin && curl -L -O https://deployer.org/deployer.phar && echo @ECHO OFF > dep.bat && echo php "%~dp0deployer.phar" %* >> dep.bat
-
@leokhoa said in Include Deployer:
cd C:\laragon\bin && curl -L -O https://deployer.org/deployer.phar && echo @ECHO OFF > dep.bat && echo php "%~dp0deployer.phar" %* >> dep.bat
Thanks for the assistance. You are awesome