Skip to content

Update devenv docs to include a Docker alt for WSL#39056

Closed
bgoewert wants to merge 1 commit intoWordPress:trunkfrom
bgoewert:patch-1
Closed

Update devenv docs to include a Docker alt for WSL#39056
bgoewert wants to merge 1 commit intoWordPress:trunkfrom
bgoewert:patch-1

Conversation

@bgoewert
Copy link
Copy Markdown

@bgoewert bgoewert commented Feb 24, 2022

Description

I was somewhat disappointed to see that WAMP and MAMP were listed as Docker alternatives but nothing about WSL. So I added another list item for it that includes a link to what WSL is for those that might not know it exists.

Also included an install script that I had previously made, which may or may not need improvements. It was written with my preference of using .local domain names and thus requires knowledge of modifying the hosts file. The plan was to figure something out that might automagically add the desired domain to the hosts file, but I just haven't gotten around to it.

This example script also does not check nor install Apache/NginX, MySql/MariaDB, or PHP packages. So those will also need to have been set up prior to running. Which I have an unpublished script for but it is hard-coded with my preferences.

So it may not be rated E for Everyone. But I think it deserves a note? Up for debate.

Testing Instructions

Screenshots

Types of changes

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • I've tested my changes with keyboard and screen readers.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.
  • I've updated all React Native files affected by any refactorings/renamings in this PR (please manually search all *.native.js files for terms that need renaming or removal).
  • I've updated related schemas if appropriate.

@github-actions
Copy link
Copy Markdown

👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @bgoewert! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other.

If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information.

@github-actions github-actions bot added the First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository label Feb 24, 2022
@skorasaurus skorasaurus added [Type] Developer Documentation Documentation for developers Developer Experience Ideas about improving block and theme developer experience labels Feb 27, 2022
@bgoewert
Copy link
Copy Markdown
Author

Closing this old PR of mine. WSL is a very good alternative to WAMP/Docker, and I still think it should be listed. But seeing as @wordpress/env exists, I don't see how it's necessary to use anything else.

@bgoewert bgoewert closed this Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Developer Experience Ideas about improving block and theme developer experience First-time Contributor Pull request opened by a first-time contributor to Gutenberg repository [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants