This repository provides a Platform.sh template for deploying the Sobki Profile Bootstrap Drupal distribution, with full support also for Upsun, the latest product by Platform.sh. The template includes all necessary configuration for deploying to both Platform.sh and Upsun, ensuring a seamless and scalable setup for either platform.
Sobki Profile Bootstrap is a custom Drupal profile designed to accelerate the development of mobile-responsive websites by providing a default Bootstrap-powered theme and essential configurations out of the box. The Sobki profile combines a modern front-end framework with core Drupal functionality, offering an efficient starting point for developers.
Key features of Sobki Profile Bootstrap:
- Bootstrap Integration: The profile is built on top of the popular Bootstrap framework, ensuring responsive design and mobile-first layouts.
- Pre-configured for Development: Sobki comes with a ready-made setup that includes default content types, views, and blocks, which significantly reduce initial development time.
- Flexible and Extendable: The profile can easily be extended with custom themes, modules, and configurations to meet specific project needs.
- Multilingual Support: Sobki also includes default configurations for multilingual support, making it easy to create sites in multiple languages.
This template streamlines the deployment process for both Platform.sh and Upsun, allowing developers to focus on site development and customisation rather than infrastructure concerns.
- Pre-configured for Platform.sh and Upsun: Includes all necessary files to integrate and deploy the Sobki Profile Bootstrap on either Platform.sh or Upsun with minimal setup.
- Scalable Architecture: Supports multi-tier environments, including separate development, staging, and production branches.
- Environment-specific Configuration: Leverages both Platform.sh and Upsun’s capabilities for different environment configurations, allowing for seamless testing and deployment.
- Integrated with Platform.sh and Upsun Services: Preconfigured database and cache services (MySQL, Redis) for optimised performance on both platforms.
For Platform.sh: Ensure you have the Platform.sh CLI installed and authenticated.
platform createFor Upsun: Ensure you have the Upsun CLI installed and authenticated.
upsun createFor Platform.sh:
platform environment:init https://github.com/platformista/sobkiFor Upsun:
upsun environment:init https://github.com/platformista/sobkiOnce deployed, you can access your Drupal installation via the generated URL provided by either Platform.sh or Upsun. The Sobki profile is automatically installed on the first deploy, and the initial admin credentials are printed in the first deployment log.
Feel free to modify the sobki_profile_bootstrap profile to meet your specific needs. You can:
- Add additional modules to
composer.json. - Update configuration in the
config/syncdirectory. - Customise the
settings.platform.phporsettings.upsun.phpfiles for further environment-specific tweaks.
The following services are included in this template by default:
- MySQL: Default database service for Drupal.
- Redis: For caching and performance optimisation.
Modify the .platform/services.yaml (Platform.sh) or .upsun/config.yaml (Upsun) file to adjust service specifications as necessary.
Please refer to the Sobki Profile Bootstrap issue queue for known bugs or issues with the profile itself. For Platform.sh or Upsun-specific issues, review the respective documentation or contact their support:
Contributions to this template are welcome! Please open a pull request or submit an issue for any feature requests, bugs, or suggestions.
This template is open-source and available under the GPLv2 license.