Packages dempoyment tool.
-
Install Deployer To install Deployer download deployer.phar archive and move deployer.phar to your bin directory and make it executable.
$ curl -L http://deployer.org/deployer.phar -o deployer.phar $ mv deployer.phar /usr/local/bin/dep $ chmod +x /usr/local/bin/dep
-
Install Composer Download the
composer.phar
executable or use the installer.$ curl -sS https://getcomposer.org/installer | php
Note: If the above fails for some reason, you can download the installer with
php
instead:php -r "readfile('https://getcomposer.org/installer');" | php
-
Download and install jq
$ sudo apt-get install jq
or
$ chocolatey install jq
or
$ git clone https://github.com/stedolan/jq.git $ cd jq $ autoreconf -i $ ./configure --disable-maintainer-mode $ make $ sudo make install
-
Download and install zip
$ sudo apt-get install zip
-
Downoad tmhub/deployer
$ git clone [email protected]:tmhub/deployer.git $ cd deployer $ dep deploy --package="tm/ajaxpro:*"
$ cd [deployer dir]
$ dep deploy --package="tm/ajaxsearch:*"
$ ls build/bin
$ dep deploy --package="tm/email:*,tm/subscription-checker:*"
$ mv /var/www/deploy/deployer/build/bin/email-1.1.3.zip /var/www/deploy/deployer/build/bin/email-1.1.3-swissup.zip
$ dep deploy --package="tm/email:*"