GenerateBlocks 2.0 is here - Read the release post

Learn GenerateBlocks

GenerateCloud

GenerateCloud is a plugin that allows you to host your own private cloud for sharing GenerateBlocks Pro patterns libraries. The plugin is included within the GeneratePress One subscription or can be purchased separately form generatepress.com.

Requirements

To create a cloud, you must have the following:

  1. A publicly accessible WordPress website for hosting your cloud
  2. GenerateBlocks 1.9.0 or later, GenerateBlocks Pro 1.7.1 or later, and GenerateCloud installed
  3. A Collection of Patterns saved in your cloud

How to Set Up GenerateCloud

There are X steps required to set up and share your GenrateCloud

  1. set up the cloud site
  2. create a pattern collection or collections
  3. create a public key

Setting up the cloud site

The cloud needs to be hosted on your own WordPress Install which needs to be publicly accessible. This can be a front facing site you already have patterns installed on, or a site dedicated to simply hosting the cloud.

  1. Download the GenerateCloud plugin from your GeneratePress or GenerateBlocks account.
  2. Install and activate the plugin on the Cloud site.
    The plugin is not required on the client site

Create a Pattern Collection

We will assume that you have already created some Patterns that you want to share with GenerateCloud.
Next we need to create a Collection of our patterns.

  1. Go to Dashboard > GenerateBlocks > Local Patterns
    This is a classic admin view of all patterns you have created on your site.
  2. At the top of the admin choose the Collections taxonomy
  3. Create a new term for your Collection eg. My Super Fancy Patterns
  4. Add Patterns to your collection by quick editing or editing a pattern.
  5. Repeat 3 and 4 if you want to create different Collections.

Now we have a Pattern Collection to share we need to set up our Cloud Key.

Creating a Public Key for our Cloud

In order to allow a client site to access our cloud we need to provide it with a Public Key.

  1. Go to Dashboard > Generate > Cloud
  2. Create a new Key
  3. Complete the 2 part form

The cloud key form:

Name – for internal use only to help identify the key

Key – the key is autogenerated for you.

Provides – select the assets the cloud will provide. Its only Patterns for now.

Pattern Library Name – the client name for Library.

Pattern Collections – select the Collections to add to the Library.

Connecting a Client to the cloud

To share you created Cloud you will need:

  1. the Clouds Domain Name
  2. the Clouds Public Key
  3. a client site with GenerateBlocks Pro installed.

Getting the Domain and Public key

On the Cloud site go to Dashboard > GenerateBlocks Cloud and make a note of the Domain Name (1) and the Public Key (2).

GenerateCloud Admin - getting the domain and public key
GenerateCloud the public key

Setting up the Client

On a Client site with the GenerateBlocks Pro plugin installed. In the Post editor open the Pattern Library from the GenerateBlocks Panel (1), add the Domain and Public Key (2) and click add.

Adding the GenerateCloud library to the client
GenerateCloud setting up the client