0
我想在Windows上安裝部署者。我按照下面的步驟:如何在Windows上安裝並運行部署者
- 運行命令在CMD:d:\作曲家需要部署/部署者:〜3.0
- 然後d:\ PHP供應商/斌/ DEP
當運行上面的命令它顯示下面的事情我:
dir=$(d=${0%[/\]*}; cd "$d"; cd "../deployer/deployer/bin" && pwd)
# See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then
# Cygwin paths start with /cygdrive/ which will break windows PHP,
# so we need to translate the dir path to windows format. However
# we could be using cygwin PHP which does not require this, so we
# test if the path to PHP starts with /cygdrive/ rather than /usr/bin
if [[ $(which php) == /cygdrive/* ]]; then
dir=$(cygpath -m "$dir");
fi
fi
dir=$(echo $dir | sed 's/ /\ /g')
"${dir}/dep" "[email protected]"
此外,當我試圖運行「出發」的命令d:> DEP自我更新,它讓我看到這個錯誤:
'dep' is not recognized as an internal or external command, operable program or batch file.
現在我該怎麼做才能製作並運行部署程序腳本?請告訴我更多的步驟。
使用使用
dep
「deployer.phar」,而不是 「DEP」。您可能不需要指定路徑。 – Josiah