Git Product home page Git Product logo

drupalsandbox's Introduction

Gitpod ready-to-code

ddev + Gitpod

Set up a full Drupal dev environment in a browser

This project demonstrates a complete Drupal 9 development environment, utilizing ddev and Gitpod, through your browser.

Video Demo

Watch a 5 minutes walkthrough video:

Setup a full Drupal dev environment in a browser

Prerequisites:

  1. Sign up for gitpod.io

Try it out:

  1. Click on the following link https://gitpod.io/#https://github.com/shaal/ddev-gitpod
  2. Your environment is being prepared, wait about 40 seconds (A splash screen will appear)
  3. VScode IDE will be displayed, a few seconds later you will see Umami demo.
  4. Run in terminal ddev xdebug on
  5. Open VScode's debugger, place a new breakpoint in web/index.php
  6. Open your website's URL in a browser.
  7. ๐ŸŽ‰

Do you like PhpStorm instead of Theia or VScode?

  1. Open a bash window at the bottom
  2. .ddev/run-phpstorm.sh

How does it work?

  1. Gitpod - development environment based on Docker
    1. .gitpod.yml
      1. Defines the main docker image this environment is built on - .gitpod.Dockerfile
      2. Run prebuild commands:
        1. Start ddev
        2. Run composer install
        3. Install Umami demo website
    2. .gitpod.Dockerfile
      1. Set base image to Gitpod's workspace-full (link)
      2. Install ddev using brew
  2. ddev - ridiculously simple setup for complex development environments, allows developers working locally or working with Gitpod in the cloud.
    1. .ddev/config.yaml - main ddev (default) configuration, can be generated by running ddev config

Thank you

@rfay for your endless patience and relentless support that made this project possible.

Persistent Storage:

  • Gitpod backs up the state of the /workspace/ folder between workspace starts, so that you can revisit them later. Attention: Files in other locations will not be saved!
  • Additional Storage Solutions

drupalsandbox's People

Contributors

shaal avatar rfay avatar violinist-bot avatar tyler36 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.