Assuming you have installed all the WPCD Multi-tenant pre-requisites, the first step in your Multi-tenant journey will be to create at least one template site.
A WPCD Multi-tenant product template site site is a regular WordPress site with three differences:
So, step 1 is to create a regular WordPress site. You can do this from the server list screen – make sure it’s on the server you’ve designated as your template server.
Then, enable the TEMPLATE FLAG as follows:
Next, you need to connect the site to GIT and a new or existing git repository on GitHub. The instructions below assume that you’ll be using a new repository.
At this point, you can start to setup your template. Periodically you can use the COMMIT & PUSH button to make sure your file changes are sent to your GitHub repository.
You can assign a user-friendly name to your template site. Just scroll down to the bottom of the MULTI-TENANT tab:
We will use this name in certain other screens in WPCD when working with Multi-tenant operations. Setting this is not a requirement for using WPCD Multi-tenant.
If you prefer to use your local machine for development you can continue to do so. You can push the files up to the same central (remote) repository that the template site is using. Then, you can use the GIT SYNC option on the GIT tab to sync the central (remote) repo to the template site.
Another option is to use any import-export or backup-restore plugin to move files and database data from your local dev environment to the template site. Then use the COMMIT & PUSH button on the GIT tab to send your file changes to central (remote) GitHub repository.