Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 30 additions & 30 deletions products/wordpress-capsule/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,68 +2,68 @@

Deploy a WordPress application and learn how to host a content management system on Code Capsules.

## Set up
## Set Up

To follow this guide, you'll need a [Code Capsules](https://codecapsules.io/) account. WordPress can be downloaded and deployed automatically or you can connect your Capsule to Wordpress hosted on a GitHub repository.
To follow this guide, you'll need a [Code Capsules](https://codecapsules.io/) 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](https://app.gitbook.com/s/gIlxo9gU7Lotj1cdGRh6/teams/what-is-a-team) and [Spaces](https://app.gitbook.com/s/gIlxo9gU7Lotj1cdGRh6/spaces/what-is-a-space).
Before creating your WordPress Capsule, you'll need a Team and a Space. You can follow these guides to learn how to create [Teams](https://app.gitbook.com/s/gIlxo9gU7Lotj1cdGRh6/teams/what-is-a-team) and [Spaces](https://app.gitbook.com/s/gIlxo9gU7Lotj1cdGRh6/spaces/what-is-a-space).

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".
If you already have a Team and Space set up, log in to your Code Capsules account. On the dashboard, click the yellow **+** icon on the bottom left of the screen, then click **New Capsule**.

![Create a Capsule](/broken/files/4bJZiaOBexUoKSnAhzd2)
![Create a Capsule](../.gitbook/assets/wordpress-capsule/deploy/add-capsule.png)

## Create the Capsule

A [Capsule](https://app.gitbook.com/s/gIlxo9gU7Lotj1cdGRh6/capsules/what-is-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.
To create a WordPress Capsule, first choose **WordPress** as the Capsule type, as well as your Team and Space.

![Choose a Capsule Type](/broken/files/trWzz1caiyuoKcK430qr)
![Choose a Capsule Type](../.gitbook/assets/wordpress-capsule/deploy/wordpress-capsule-type.png)

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

![Choose Plan](/broken/files/lAFLsN91u5PwqspEmd7x)
![Choose Plan](../.gitbook/assets/wordpress-capsule/deploy/wordpress-choose-plan.png)

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".
A WordPress Capsule requires a connection to a MySQL Database Capsule as well as to a Persistent Storage Capsule. Either select a previously 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**.

![Deploy Configuration](/broken/files/mRVMETH0XZ6kAiZlm7r2)
![Deploy Configuration](../.gitbook/assets/wordpress-capsule/deploy/wordpress-configure-capsule.png)

## Choose How to Deploy
## Choose How To Deploy

### Default Deployment

To automatically download and deploy a Wordpress version on Code Capsules:
To automatically download and deploy a WordPress version on Code Capsules:

1. Select the "Default" deployment type from the dropdown
2. Choose your WordPress version
3. Click "Next"
1. Select the **Default** deployment type from the dropdown.
2. Choose your WordPress version.
3. Click **Next**.

![Choose Wordpress Version](/broken/files/6DjdVUiXgO9sJFm2JAJ2)
![Choose Wordpress Version](../.gitbook/assets/wordpress-capsule/deploy/wordpress-version.png)

### Git Managed

To deploy WordPress from your version control repository:

1. Select the "Git Managed" deployment type
2. Select a repository
3. Select the branch to deploy from
4. Click "Next"
1. Select the **Git Managed** deployment type.
2. Select a repository.
3. Select the branch to deploy from.
4. Click **Next**.

![Choose repo](/broken/files/PVPsEvZLR56b3KuhEGRn)
![Choose repo](../.gitbook/assets/wordpress-capsule/deploy/wordpress-git-managed.png)

You can read more about connecting your account to a version control provider in [this guide](https://docs.codecapsules.io/platform/account/connect-version-control).

## 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.
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.

![Logs](/broken/files/WquVsllQEiLSboZ1Milm)
![Logs](../.gitbook/assets/wordpress-capsule/deploy/wordpress-logs.png)

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

![URL](/broken/files/kNeV7S3JXfbpohcGRjxF)
![URL](../.gitbook/assets/wordpress-capsule/deploy/wordpress-url.png)

## Set Up WordPress

Expand All @@ -73,10 +73,10 @@ When you first visit your WordPress site, you'll see the installation screen:
2. Create an admin username.
3. Set a strong password.
4. Provide your email address.
5. Click "Install WordPress".
5. Click **Install WordPress**.

![Setup Wordpress Admin Account](/broken/files/YGwoiXq1kKA3XnNQ8nry)
![Setup Wordpress Admin Account](../.gitbook/assets/wordpress-capsule/deploy/wordpress-setup.png)

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

![Welcome to Wordpress](/broken/files/9pMn9vOvou2GXVOzuPwx)
![Welcome to Wordpress](../.gitbook/assets/wordpress-capsule/deploy/wordpress-welcome.png)
29 changes: 29 additions & 0 deletions products/wordpress-capsule/domain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
description: >-
Configure custom domains for your WordPress capsule to replace the default
Code Capsules URL.
---

# Domains


When you deploy a WordPress Capsule, Code Capsules assigns it a default URL, like `wordpress-slug.codecapsules.co.za`. You can access your site immediately using this URL.

![Default WordPress URL](../.gitbook/assets/wordpress-capsule/domain/wordpress-default-url.png)

## Adding a Custom Domain

To add a custom domain, navigate to the **Domains** tab in your WordPress Capsule.

On the left panel, you will see DNS configuration instructions. You'll need to create a CNAME or ALIAS record with your DNS provider or point a Type A record to the provided IP address in your domain provider's management console.

Once you have created your DNS records, click the **+** button to add the domain entry.

![Add Custom Domain Button](../.gitbook/assets/wordpress-capsule/domain/add-custom-domain-button.png)

Enter your custom domain in the form.

![Custom Domain Entry Form](../.gitbook/assets/wordpress-capsule/domain/custom-domain-entry.png)

DNS propagation typically takes 15-60 minutes. Once complete, your WordPress site will be accessible at your custom domain.

31 changes: 31 additions & 0 deletions products/wordpress-capsule/migrate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
description: >-
Migrate content between WordPress Capsules with one-click synchronization of
database, files, and configurations.
---

# Migrate

Navigate to the **Migrate** tab in your destination WordPress Capsule. Select the source Capsule from the dropdown menu. Click **Start Migration** to begin the synchronization process.

![Migration Source Selection](../.gitbook/assets/wordpress-capsule/migrate/wordpress-migration-source-selection.png)

## What Gets Migrated

Code Capsules copies the complete WordPress environment from the source Capsule:

* **Database Content:** All posts, pages, comments, and user accounts
* **Uploaded Media Files:** Images, videos, and documents from the storage Capsule
* **Installed Plugins:** Active plugins and their configurations
* **Theme Configurations:** Active theme settings and customizations

## After Migration

Once the migration is complete, the destination Capsule contains identical content to the source Capsule. The migration automatically updates internal URLs to match the destination Capsule's domain.

Both Capsules remain independent after migration. Changes made to the source Capsule after migration won't affect the destination until you run another migration.

## Common Use Cases for Migration

* **Staging to Production:** Deploy approved content from staging to your live production site.
* **Cloning Sites:** Duplicate a WordPress installation to create a new independent site.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tutorials/.gitbook/assets/create-space-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tutorials/.gitbook/assets/developer-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tutorials/.gitbook/assets/space-details-form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading