Deploying your code

Deploying your code in a cluster can get complex and a single misstep may take the website down. The easiest and most secure way is to use our deployment script that we've included in your account.

Those are the details that you must adjust and the single step that you must accomplish in order to acheive a sucessful update:

Ref:
<username>: your username
<server>: your backend server
<branch/tag>: your branch or tag

Command to execute:
ssh <username>@<server> 'deploy <branch/tag>'

Example:
ssh marc@backend.myserver.com 'deploy master'

The output will be shown in your terminal.


Ping us if you experienced any issue using our deploy script.
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Importing your products using a custom script which provisions Magmi.

Importing your products Importing/Updating products through a combination of a custom import...

GIT best practices for portable code.

-The head of the master branch should always be the code in production.-The head of the...