GithubHelp home page GithubHelp logo

kalwar / d10live-pantheon Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 195 KB

A simple drupal 10 site with panethon and ci/cd enabled

Home Page: https://dev-d10live.pantheonsite.io/

PHP 100.00%
configuration drupal10 github-actions lando pantheon

d10live-pantheon's Introduction

d10live-pantheon

Deployment to Pantheon

A very simple skeleton of Drupal 10 together with pantheon site powering your live site, a website about whatever you want it to be.

Local site setup

Do the lando setup, make sure you can clone the repo from pantheon site and run locally drupal 10 with lando

Making site changes

Configuration changes

Drupal 10 configuration (such as content type and field definitions) is managed through yml files. These files live in the config directory.

After you make configuration changes locally (such as adding a field to a content type), you can then export those changes by running lando drush cex in the project directory.

Import site database, clear caches, and apply site configuration from code.

  1. lando db-export
  2. You will get database.sql.gz file in root of your project folder
  3. Copy database dump generated e.g. database.sql.gz dump to pantheon site Database/Files under "Import" section
  4. Make sure you have File option selected
  5. Your lando drupal local site configurations must match with pantheon site

Deployment to Pantheon via Github Actions

This site's main branch is automatically committed and deployed to Pantheon's dev environment with a Github action workflow file. The pantheon site name and ID are configured in that file.

It needs these secrets added to this repository's Github settings:

d10live-pantheon's People

Contributors

alexdicianu avatar greg-1-anderson avatar kalwar avatar mbaynton avatar stovak avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.