How to deploy a WordPress theme using Ultim8e Deployer?

While using Ultim8e Deployer, you can create a standard process to be able to automate deployments process of your WordPress theme. There are couple of other ways of doing this but we will focus on how to deploy specific WordPress theme in this article.

This guide assumes you already have a server in place for your WordPress site deployment straight from your Git Repository. We will assume that you only have your WordPress theme committed to Git, and the rest of the installation is managed separately.

Creating user for Ultim8e Deployer

For security reasons, we recommend you to create a separate user for the use of deployments.

sudo adduser ultimate
sudo usermod -a -G apache ultimate

Note: We assume that you are using Apache web service. If you are using any other web service then please change the name of the group accordingly.

Configuring server

Now to connect Ultim8e Deployer with your server, we need to create a server by going to Servers > New Server.

  1. Enter the name that you can easily memorize and select SFTP from the list of protocols.
  2. Enter the IP Address of your server into the Hostname field.
  3. The Username should be ulimate as we created in previous step.
  4. Use the standard port 22 or relevant that you may have configured on server.
  5. Select/Enter information in the rest of the fields accordingly.
  6. Click on Save.

Note: We assume that you are using Apache web service. If you are using any other web service then please change the name of the group accordingly.

Creating a project

Create a project by going to Projects > New Project.

  1. Enter the name that you can easily memorize for this project
  2. Select the project environment.
  3. Select the repository tool that you have your laravel project repository hosted on along with other required fields. (if you need any help with repository settings please visit our  support page.
  4. Select the option for Notification and enter relevant information.
  5. Project Base path is the path that will be used for Deployment purpose. Set the deployment path to /var/www/yourproject.com/wp-content/themes/.
  6. Check the radio button if you would like to deploy the project automatically once anyone commits to the branch.
  7. Provide the live URL in-case if you would like to monitor it.
  8. Select the server that you have added during previous step of this article.
  9. Click on Save.

 

If you are planning to use auto deployment then enable the option Need to deploy project automatically. Enabling this options it will inform Ultim8e Deployer to automatically deploy to the provided server.
 

Deploying your WordPress theme

So now, its time to deploy!!!
 
Go to Projects > Select your Project > Click on Deploy button on top right hand side of the screen.
 
  1. The server you created should be pre-selected, along with the branch you provided in the project setting.
  2. Select the revision that you would like to deploy.
  3. Click on Deploy to begin the deployment.

Now sit back, relax and look to your logs while deployment is happening.

Offer available till 15th July 2020 and Only 50 Coupons left!

Creating apps that helps to improve your productivity with minimal efforts!

Terms & conditions

* Discount applicable only on Ultim8e Deployer.

WE ACCEPT

©2020, Ultim8e.com. All Rights Reserved. Powered by Ingress IT Solutions

GO TOP