Make deployer.phar executable
-
Hi,
To deploy my Symfony apps, I'm using the deployer.phar tool. I used to put it at the root of each of my projects but now I'd like to use it globally so I moved it to C:\laragon\bin\dep.How can I access it by using the command dep (like in the tool doc)? I have C:\laragon\bin; registered in my PATH and I've tried using a dep.bat file, but I still get the error bash: dep: command not found.
Can anyone help?
My dep.bat is like this :
@ECHO OFF
setlocal DISABLEDELAYEDEXPANSION
SET BIN_TARGET=%~dp0/deployer.phar
php "%BIN_TARGET%" %*
-
@picks44 : Please see my instruction here. It's easy and just 1 command line:
https://forum.laragon.org/topic/869/include-deployer/7
-
@leokhoa oh, thanks! sorry about the duplicate topic