2016-10-01 3 views
0

WindowsにDeployerをインストールします。 CMDでDeployerをWindowsにインストールして実行する方法

  • 実行]コマンド::D:\作曲必要デプロイヤ/デプロイ担当:私はステップの下に続いている〜その後3.0
  • D:\ phpのベンダー/ binに/

私は実行DEP私は「DEP」コマンドDを実行しようとしたときにも

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]" 

::> DEP自己更新を、それは私にこれを表示するコマンドの上にそれが事の下に私を示していエラー:

'dep' is not recognized as an internal or external command, operable program or batch file.

デプロイヤースクリプトを作成して実行するにはどうすればよいですか?さらなるステップを教えてください。

+0

使用 "deployer.phar" の代わりに "DEP" を使用します。パスを指定する必要はありません。 – Josiah

答えて

0

使用call vendor/bin/depウィンドウでdep

関連する問題