Skip to content
Mougrim edited this page Apr 6, 2015 · 2 revisions

First you need install deployer.

Next run commands:

cd ~/deploy
git clone git@github.com:user/my-application.git
cd my-application

mougrim-deployer.php deploy \                           # need run in project clone dir
	--tag=v1.3.2 \                                  # git tag - version of release
	--application-path=/path/to/folder/to/deploy \  # path to application
	--user=myapplicationuser \                      # web server user
	--group=myapplicationgroup \                    # web server group

Note, if you don't add path to mougrim-deployer.php to PATH environment variable, you need type path manually, e.g. vendor/bin/mougrim-deployer.php.

To list all the available commands, run the mougrim-deployer.php command.