Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tyler36/ddev-gitpod-setup
Helper add-on to add Gitpod config.
https://github.com/tyler36/ddev-gitpod-setup
ddev-get
Last synced: about 5 hours ago
JSON representation
Helper add-on to add Gitpod config.
- Host: GitHub
- URL: https://github.com/tyler36/ddev-gitpod-setup
- Owner: tyler36
- License: apache-2.0
- Created: 2024-08-09T08:36:03.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T03:20:06.000Z (about 1 month ago)
- Last Synced: 2024-08-26T04:37:06.328Z (about 1 month ago)
- Topics: ddev-get
- Language: Shell
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![tests](https://github.com/tyler36/ddev-gitpod-setup/actions/workflows/tests.yml/badge.svg)](https://github.com/tyler36/ddev-gitpod-setup/actions/workflows/tests.yml) ![project is maintained](https://img.shields.io/maintenance/yes/2025.svg)
# ddev-gitpod-setup
- [What is ddev-gitpod-setup?](#what-is-ddev-gitpod-setup)
- [Getting started](#getting-started)
- [Customizing](#customizing)
- [Full control](#full-control)
- [Project-type customizing](#project-type-customizing)
- [Components of the repository](#components-of-the-repository)
- [Contributing](#contributing)## What is ddev-gitpod-setup?
ddev-gitpod-setup is a helper add-on to set up Gitpod for a DDEV project.
It does this by generating a `.gitpod.yml` file which includes:- generic framework-specific tasks
- DDEV base image
- DDEV port settings
- VSCode extensions
- GitHub preferences@see [Gitpod documentation](https://www.gitpod.io/docs/references/gitpod-yml) for options settings. Most people don't need to change anything after just getting this setup.
## Getting started
1. Install add-on
```shell
ddev get tyler36/ddev-gitpod-setup
```2. Commit files to repository. All that really matters is the .gitpod.yml, but it does no harm to commit all the files the add-on creates.
3. Open the project in Gitpod. You can launch your project many ways with Gitpod, but one is by constructing a URL like `https://gitpod.io/?autostart=true#https://github.com//` and launching it in your browser.@see [Gitpod docs](https://www.gitpod.io/docs/introduction/getting-started) to see how this addon based a `.gitpod.yml` file on step 3.
## Customizing
### Full control
You can take over the `.gitpod.yml` and change it as you see fit, but most people don't need to do that.
- Remove `#ddev-generated` from `.gitpod.yml`. (This add-on will no longer manage the file.)
- Make changes, as require.You are then responsible for all updates to the configuration such as updating the DDEV version.
You will need to manually remove the file if/when you remove this add-on.### Project-type customizing
Currently this add-on has explicit support for Drupal and Laravel projects, with fallback to generic projects (DDEV's `php` project type). Contributions of support for new project types is welcome.
- Copy an existing `.ddev/gitpod-setup/{project-type}.yml`
- Update `.ddev/gitpod-setup/{project-type}.yml` with tasks your project type needs.
- Run `ddev get tyler36/ddev-gitpod-setup` to generate a new config file.
- Contribute your changes back to this add-on.This approach works best if you want to:
- customize Gitpod tasks.
- allow this add-on to update the DDEV image, ports and other "standard" DDEV configuration.
- reuse the project-type settings in other projects.## Components of the repository
- [gitpod-setup](gitpod-setup/) directory holds the files used to construct the final `.gitpod.yml` file.
- An [install.yaml](install.yaml) file that describes how to install the service or other component.
- A test suite in [test.bats](tests/test.bats) that makes sure the service continues to work as expected.
- [Github actions setup](.github/workflows/tests.yml) so that the tests run automatically when you push to the repository.## Contributing
PRs are welcome, especially when accompanied with tests.
Project-type files are also welcome. However, please take care to keep them as minimal and un-opinionated.
We all have our preferred setup environment and "essential" extensions and add-ons. They are outside this add-ons scope. @see [customizations](#customizing).**Contributed and maintained by [@tyler36](https://github.com/tyler36)**