Giter Site home page Giter Site logo

lcube45 / dcon21-milb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrisfromredfin/dcon21-milb

0.0 1.0 0.0 25.79 MB

Demo for "Migrating into Layout Builder" from DrupalCon in 2021.

License: GNU General Public License v2.0

PHP 87.32% Shell 0.15% JavaScript 4.28% CSS 4.59% Twig 3.53% HTML 0.14%

dcon21-milb's Introduction

Migrating Into Layout Builder Demo

For DrupalCon in 2021, I presented on Migrating Into Layout Builder. For this presentation, I came up with this simple demo to illustrate the main concepts covered.

Setup

If you would like to run and poke around on this demo yourself, you can clone or download this repo, then:

  1. Run composer install to get all the dependencies in vendor, etc. (NOTE: composer.lock assumes PHP 7.3; composer update may help if you are on a different version.)
  2. Import the database. If using DDEV, you can restore the snapshot provided. Otherwise, you can use the source_data/db.sql.gz file.

You will have a single node created that is the home page, which is a basic page built using layout builder.

Changes

If you're NOT using the included DDEV configuration, you may need to change the paths in the migrations from /var/www/html to whatever makes sense in your environment.

The settings.ddev.php is set up for DDEV, but you can override any of it (especially $databases) with settings.local.php as you need to (you will need to create a settings.local.php).

Files

Everything related to the presentation is in web/modules/custom/my_migrations.

There are some additional helpful modules I used while developing the demo, which you can see in web/modules/contrib.

dcon21-milb's People

Contributors

chrisfromredfin avatar

Watchers

 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.