Created
December 26, 2013 20:07
-
-
Save jasonevans1/8138075 to your computer and use it in GitHub Desktop.
Zend Server deployment command examples.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add zend server as a deployment server target. | |
php bin/zs-client.php addTarget --target="aws-test-server" \ | |
--zskey="admin" \ | |
--zssecret="<zend_server_key>" \ | |
--zsurl="<zend_server_url:port>" | |
#eHub Commands | |
php bin/zs-client.php packZpk --folder=<path_to_ehub_code> --destination=<path_to_destination> | |
php bin/zs-client.php installApp --zpk="<path_to_ehub_zpk_file>" --target="aws-test-server" --baseUri="<load_balancer_url>/ehub" --createVhost=TRUE --userParams="base_url=<load_balancer_url>/ehub/&secure_base_url=<load_balancer_url>/ehub/&db_hostname=<rds_endpoint>&db_username=admin&db_password=admin123&db_database=MagentoDB&instance=ehub&prefix=ehub&key=<encryption_key>&host1=<elasticache_endpoint>&idprefix=ehub&db_port=3306" | |
#Magento Commands | |
php bin/zs-client.php packZpk --folder=<path_to_magento_code> --destination=<path_to_destination> | |
php bin/zs-client.php installApp --zpk="<path_to_zpk>" --target="aws-test-server" --baseUri="<load_balancer_url>/magento" --createVhost=TRUE --userParams="db_host=<rds_endpoint>&base_url=<load_balancer_url>/magento&secure_base_url=<load_balancer_url/magento>/magento/" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment