• Overview
    Key features
    • Observability
    • Auto-scaling
    • Multiframework
    • Security
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Languages
    • PHP
    • Python
    • Node.js
    • Ruby
    • Java
    • Go
  • Industries
    • Consumer Goods
    • Media/Entertainment
    • Higher Education
    • Government
    • Ecommerce
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Login
  • Request a demo
  • Free Trial
Meet Upsun. The new, self-service, fully managed PaaS, powered by Platform.sh.Try it now

How to install Drupal with the Platform.sh CLI

drupalcli

Notes

First, you can use the CLI command platform create to create a new project, specifying the region, plan size, number of development environments, and storage you want for the project. The project will be created in just a few seconds, and the CLI will provide a project ID you can now use to interact with it. Next, you can use the CLI command platform environment:init along with the project ID to initialize the project with an existing Drupal repository, such as our Drupal 8 template. So long as the repository contains Platform.sh configuration files, it will then build and deploy the site. First, Platform.sh will run through the build hook of the application's .platform.app.yaml file which defines its build process. Once completed, Platform.sh will validate domains for the environment, and issue new Let's Encrypt certificates for them if they not present or if they will soon expire. Then the environment is created and deployed. Finally, you can verify that Drupal deployed successfully by visiting the site using the CLI command platform url. The command will open the environment in a new browser window, and you will see that your Drupal site is now ready to install. You can find a demo video showing you how to install Drupal on Platform.sh above.

Build your greatest app

Get started
Company
AboutSecurity and complianceTrust CenterCareersPressContact us
Thank you for subscribing!
  •  
Field required
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceAcceptable Use PolicyManage your cookie preferencesReport a security issue
© 2024 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺