Code Monkey home page Code Monkey logo

typo3-gitpod's Introduction

TYPO3 + Gitpod

Gitpod Ready-to-Code

Set up a full TYPO3 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/Starraider/TYPO3-gitpod
  2. Your environment is being prepared, wait about 40 seconds (A splash screen will appear)
  3. VScode (or Theia depending on your settings) IDE will be displayed.
  4. Note that one terminal is running sudo docker-up, and another terminal in parallel is running ddev start
  5. Find your website's URL gp url 8080
  6. Open your website's URL in a browser, you should see TYPO3's installation screen.
  7. ๐ŸŽ‰

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 initial commands using 3 terminals in parallel:
        1. gitpod-setup-ddev.sh
        2. composer install
        3. sudo docker-up
    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
    1. .ddev/config.yaml - main ddev (default) configuration, can be generated by running ddev config
    2. .ddev/gitpod-setup-ddev.sh - generate config overrides for ddev to work in the Gitpod environment.
      1. Delete any existing Docker images and containers (due to Gitpod bug, that cause issues when restarting a workspace)
      2. Set certain ports to public, following Gitpod's syntax [port]-[workspace-url]
        1. 8080 - TYPO3 Website
        2. 8025 - Mailhog
        3. 8036 - PHPmyadmin
      3. Set host.docker.internal with the correct value of gitpod's host ip
      4. Starts ddev

Thank you

This project was inspired by shaal/ddev-gitpod

typo3-gitpod's People

Contributors

starraider avatar

Stargazers

 avatar  avatar  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.