Open shaal opened 3 years ago
Just started using DrupalPod extention but can see myself running out of GitPod hours quickly.
I'm only jkust starting my Docker journey but if there's something I can test for ...
@tyler36 If you need more Gitpod hours, I would suggest applying for their professional open-source plan. It is what I did and it works great for me - https://www.gitpod.io/docs/professional-open-source/
Regarding this PR, since it's based on DDEV, it should be fairly simple to make a local version of it (and update the extension to display the command line to run to get same results locally).
Another option - one could start a Gitpod workspace, go to Gitpod dashboard, click on the 3 vertical dots on the right of the workspace you just opened, click Download
, and a 3GB file will be downloaded to your machine.
I didn't have a chance to play with that option, but interested to know how it works.
Thanks for the update. Although the Profession Open Source options seem generous, I don't yet qualify.
Regarding this PR, since it's based on DDEV Um ... which PR?
Unforunately, the download
option does work for me ... I get "Oh, no! Something went wrong! Error". I've logged an issue with them
So I had a though ... VSCode has an offical extention called Remote: Containers
which basically run the setup in a seperated Docker instance. This is what we want right?
I tried cloning https://github.com/shaal/ddev-gitpod.git ,
.docker
file and pull down imagesBetween the .Docker
file and a ./.devcontainer/devcontainer.json
, I feel like we have all the pieces to make a dockerized & consistent VSCode environment. I'm unsure how to "pull-it-all-together" though.
DevContainers help: https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/docker-existing-dockerfile
Let me know if you want to get on a call, so I can show you how simple this is.
Because DrupalPod is based on ddev, in order to run it locally, all you need to do is install docker, and then install ddev (I recommend using the homebrew installation) - https://ddev.readthedocs.io/en/stable/#installation
Once ddev is installed on your machine - git clone drupalpod repo, and type ddev start
. That's all.
The issue was created, to modify the extension so people who use it locally can run a command, to get the same setup as they would get when using DrupalPod in Gitpod.
You do not need any special vscode environments or extensions.
Please let me know if you have any questions.
Ahh ... thanks.
I have DDEV, WSL2 setup and working.
I read the issue as a "Make DrupalPod work locally by allowing people to click the DrupalPod extension on a Drupal issue page and automatically build the environment locally". Therefore I was thinking you need to dynamically write a script that builds a docker environment and sets up Drupal, profile & patch as required.
Big dreams, I know.
Is your feature request related to a problem? Please describe
Users would sometimes prefer not using Gitpod, and work locally instead.
Describe the solution you'd like
Users who don't want to use Gitpod, can
git clone
DrupalPod, and thanks to ddev - run the project locally.Describe alternatives you've considered
Additional context