Cloud CMS brings together several power components to offer publishing of content to your live web sites and applications:

  • Workspaces allow individuals and teams to work together without stepping on each other's toes
  • Workflow provides managers with the tools to review and approve content
  • Instant Preview allows reviewers to see how content changes would impact their live site

Completed and approved content can be published to release snapshots or can be copied to target projects on either an adhoc or scheduled basis.

Following are the steps to perform the Publishing:

Step 1: Create Projects

Create two projects one for the Authoring and another to handle contents published as Live,

  1. Create an "Authoring" project

  2. Create a "Live" Project

Step 2 : Create a Receiver Channel

  1. Click on Manage Platform > Channels

  2. Click on Create Channel

    Title : "Deploy to Live Web Site"

    Branch : Select "Live Project" > Master Branch (will have an ID)

Step 3: Create a Deployment Target

Publishing to Channel:

Select "Channel" as the deployment target from the target options.

  1. Click on Manage Platform > Deployment Targets

  2. Click on Create Deployment Target

    Title : "Live Web Site"

    Type : "Channel"

    Channel : Select the channel created in previous section

Publishing to S3 Bucket:

Select "S3" as the Deployment Target if you want to publish the content to the S3 bucket.

  1. Click on Manage Platform > Deployment Targets
  2. Click on Create Deployment Target

    Title : "Upload to S3 bucket"

    Type : "S3"

    Provide all the required information like the Access Key, Secret Key, Region and Bucket Name. Prefix denotes the location to store the content.

Step 4: Configure the Authoring Project

  1. Click into the "Authoring" Project and select Manage Project > Publishing

  2. Click on "Enable Publishing" and click Save.

    This will automatically set up:

    • Draft/Live stages
    • Authoring/Production preview endpoints
    • A Simple Publishing workflow
  3. Click on "Publications" and add a publication:

    Branch: master branch

    Lifecycle state : live

    Target : Pick the deployment target from above

    This tells the system that whenever content on the "master" branch goes into the "live" state, it should be pushed out to the deployment target.

    The deployment target connects to the Receiver Channel to write content into the "Live" Project's master branch (as per your config above).

  4. Edit the Preview Endpoints as you see fit. For example:

    The following template variables are available: node, project, user

    The idea is that each endpoint tells Cloud CMS how to redirect to a preview server and pass sufficient information so that it can preview. You can use this template to customize what gets sent over. The idea is that the web server can then do whatever it needs to to show the right content.

Step 5: Editorial Publishing

  1. Go back into the "Authoring" Project

  2. Create a piece of content and then click into it. You will now see a "HUD" section which lets you preview and change the document's lifecycle state.

  3. Click on "Start Publishing Workflow" (this sets its lifecycle state to "draft")

  4. Click "Preview on Draft Endpoint" to view it on authoring endpoint

  5. Click on "Publish" to set its lifecycle state to "live". Note that once you do this, it will automatically get published to the other project.

  6. Click on Deployments to see the deployments and verify it has deployed automatically.

  7. Click "Preview on Live Endpoint" to view it on production endpoint