<img alt="" src="https://secure.agile365enterprise.com/790157.png" style="display:none;">

How To Setup EzContent on Platform.sh - Part 1

By Trilok Nagvenkar Aug 19, 2021
How To Setup EzContent on Platform.sh - Part 1
How To Setup EzContent on Platform.sh - Part 1

The world today is interconnected, more than ever before, through data, devices, and technology.  Enterprises need to manage and leverage voluminous amounts of data generated from different sources. They have understood that they have to jump onto the CMS bandwagon, which can provide them with omnichannel strategies to create unique and compelling customer experiences.

Companies are moving away from traditional CMS to API-driven headless or decoupled systems. A study indicates that the global headless CMS software market will expand approximately 5x over the next decade; from US$328.5 mn in 2020 to US$1.6 bn by 2027. 

Srijan, sensing the enormity of such an opportunity, ventured into this space with EzContent. It is an open-source, full-featured coupled, and headless CMS with a wide variety of essential, out-of-the-box content management capabilities. The most prominent capabilities are rich content editing supported by artificial intelligence and machine learning.


Wish to know more about EzContent? Request a demo.


This blog will help you in deploying EzContent on the Platform.sh and quickly accessing its demo content. 

Platform.sh, our PaaS provider, enhances the content management experience provided by EzContent. It enables easy installation of EzContent and ensures front-end flexibility with one unified workflow. Enterprises can deploy it in real-time to build and scale web applications faster with zero infrastructure management and deliver bespoke experiences.

How To Install EzContent On The Cloud

To deploy EzContent on the platform. sh, perform the following procedure:

Note: To use Platform.sh, you need to be a registered user. If you do not have an account, please visit its site to register to access your free trial and create fresh templates.

1. To create a project, click Add project > type the Project Name, the region you want to host it in, and press Enter:


A box with two rows

2. When the project is created, a dashboard is displayed with the project name (EzContent) and the region where it is located:


A grey rectangle with a box within it


3. Next, select the project to navigate through the steps for setting it up on your local computer:

Rectangular box with text inside

4. You need to download the Platform.sh CLI. Similar to the management console, CLI is used to manage your Platform. sh projects directly from the terminal. it uses both the Git interface and our REST API in the background:

Rectangular box with text inside

5. When the CLI is successfully installed, you can add your SSH key.  If you do not know how to configure your SSH key, search for tutorials online and generate an SSH key to type in the Public SSH Key field:

white background with text inside


6. Type the platform (CLI command) in your terminal to validate if the CLI is correctly installed.


7. To authenticate your access, you will be prompted to log on via a browser. When you log on successfully, a list of the projects, along with some tips, is displayed:

rectangular box with text inside

8. Use the CLI command, as mentioned above, to download the project. Use the following Application Code structure:

box with white background


9. When the project is configured on your local computer, the application code has to be added to the project. Go to platforms-ezcontent > Drupal folder to download the Drupal application code. 

10. Add routes.yaml and services.yaml inside the Routes.yaml & Services.yaml .platform folder:


   type: upstream

   upstream: "drupal:http"


     enabled: true

     # Base the cache on the session cookie and custom Drupal cookies. Ignore all other cookies.

     cookies: ['/^SS?ESS/', '/^Drupal.visitor/']


   type: redirect

   to: "https://backend.{default}/"


black box with code


11. Now you can deploy the Drupal application on Platform. sh by just typing platform push (CLI Command) in your terminal. It will take some time, as it will be downloading all the dependencies and deploying your application:


Black box with code inside


12.  When successfully deployed, you can access your site by going to the dashboard. Under your project, click Services to locate the URL


white box with different fields

13. Open the backend URL in your browser and follow the Drupal installation steps as mentioned below:

blue background with white box inside

14. Select EZ Content as the installation profile:


White box with text

15. Provide the required site information. Then click Save and Continue:

white box with text & fields

16. Your site is now ready. If you are unable to view the placeholder content provided by EzContent, you might have to install the EzContent Demo module:

white and black text fields


17. After the EzContent Demo module is successfully installed, you can view the content - Landing page and Articles:

Screen with EzContent successful deployment message


Wrapping up

I hope that this article will help you to quickly deploy EzContent on Platform. sh. Also, you can amplify its benefits for faster development, enhanced editorial capabilities, and delivering unified digital experiences.

Also, stay tuned for the next blog - How to Access EzContent on Gatsby.

Subscribe to our newsletter