Deploy
Deploy a WordPress application and learn how to host a content management system on Code Capsules.
Set up
To follow this guide, you'll need a Code Capsules account. WordPress can be downloaded and deployed automatically or you can connect your Capsule to Wordpress hosted on a GitHub repository.
Create an Account with Code Capsules
Before creating your WordPress capsule, you'll need a Team and a Space. You can follow these guides to learn how to create Teams and Spaces.
If you already have a Team and Space set up, log in to your Code Capsules account. On the dashboard, click the yellow +
on the bottom left of the screen then click "New Capsule".

Create the Capsule
A Capsule provides the server for hosting an application on Code Capsules.
To create a Wordpress Capsule first choose "WordPress" as the Capsule type, as well as your Team, and Space.

Next choose your payment plan, or create a custom plan.

A Wordpress Capsule requires a connection to a MySQL Database Capsule as well as a Persistent Storage Capsule. Either select a previosuly created instance of each from the dropdowns, or click the yellow +
next to each and follow the prompts for creating each Capsule. Click "Create Capsule".

Choose How to Deploy
Default Deployment
To automatically download and deploy a Wordpress version on Code Capsules:
Select the "Default" deployment type from the dropdown
Choose your WordPress version
Click "Next"

Git Managed
To deploy WordPress from your version control repository:
Select the "Git Managed" deployment type
Select a repository
Select the branch to deploy from
Click "Next"

You can read more about connecting your account to a version control provider in this guide.
Monitor Deployment
Code Capsules will automatically build and deploy your WordPress application. You can view the build log by selecting the "Logs" tab to monitor the deployment progress.

Once the build is complete, click the URL link in the "Details" tab, to access your WordPress site.

Set Up WordPress
When you first visit your WordPress site, you'll see the installation screen:
Enter your site title.
Create an admin username.
Set a strong password.
Provide your email address.
Click "Install WordPress".

After installation, you'll see the WordPress admin dashboard and can begin customizing your site.

Last updated
Was this helpful?