Skip to content

Commit 4c8e328

Browse files
authored
Minor followups to feb blog and windows (#315)
1 parent 61d7af8 commit 4c8e328

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

src/content/blog/ddev-feb-2025-newsletter.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ categories:
3838
- **Funding situation data feed**: Aiming for ever-increasing transparency in the DDEV funding situation, we now have an automatically-updated feed showing our [funding situation from all sources](https://github.com/ddev/sponsorship-data). You can see the [exact situation](https://github.com/ddev/sponsorship-data/blob/main/data/all-sponsorships.json) at any time. We expect to use this feed in the message-of-the-day on DDEV, as well as ddev.com and the DDEV README.
3939
- **New contributors and maintainers**: As DDEV's community grows, we always need new contributors and maintainers. We love to get contributors trained and get privileges to maintainers as needed! We already have lots of [Contributor Training](https://ddev.com/blog/category/training/) material, and [docs on how to contribute](https://ddev.readthedocs.io/en/stable/developers/) but we'll do anything you ask for! Need help with something? Need updates? Join us in [Discord](/s/discord) or [make an appointment with me](https://cal.com/randyfay/30min).
4040

41-
**Funding DDEV and especially to help both maintainers go full-time on DDEV**: _We need your help and your organization's help! Let me know if you need help getting this into your 2025 budget!_ Our key financial goal is to [fully fund @stasadev so he can work exclusively on DDEV](lets-fund-stas-maintainer.md). We've slipped back in recent months. We need about $3700/month in increased pledges from organizations and individuals. See [Full information about supporting DDEV](https://github.com/sponsors/ddev). We’re happy to invoice you, happy to [do a call discussing this](https://cal.com/randyfay/30min), and would love it if you’d include DDEV in your 2025 budgeting process. (Our current status: We receive about $3000/month, have been spending about $3000-$4000/month. Bank balance is about $6,000, down from $8,600 last month.)
41+
The next **DDEV Advisory Group Meeting** is [Wednesday, March 5, 2025](https://www.meetup.com/ddev-events/events/303197425). We'll be doing a review of DDEV's 2024 and a discussion of [proposed plans for 2025](2025-plans.md). This is open to all and we'd love to have you! Sign up on the Meetup or ask to be added for a traditional calendar invite.
42+
43+
**Funding DDEV to allow both maintainers to work full-time on DDEV**: _We need your help and your organization's help! Let me know if you need help getting this into your budget!_ Our key financial goal is to [fully fund @stasadev so he can work exclusively on DDEV](lets-fund-stas-maintainer.md). We've slipped back in recent months. We need about $3700/month in increased pledges from organizations and individuals. See [Full information about supporting DDEV](https://github.com/sponsors/ddev). We’re happy to invoice you, happy to [do a call discussing this](https://cal.com/randyfay/30min), and would love it if you’d include DDEV in your 2025 budgeting process. (Our current status: We receive about $3000/month, have been spending about $3000-$4000/month. Bank balance is about $6,000, down from $8,600 last month.)
4244

4345
**THANKS to all of you who are supporting DDEV’s path to sustainability** and who have gotten your organizations to do so.
4446

src/content/blog/windows-ddev-setup.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Setting up a Windows Machine for DDEV"
33
pubDate: 2024-11-04
4-
modifiedDate: 2024-12-31
4+
modifiedDate: 2025-02-08
55
summary: Setting up a new Windows machine for DDEV maintenance or development is pretty easy. Here are my opinionated steps.
66
author: Randy Fay
77
featureImage:
@@ -31,8 +31,9 @@ Two recent Windows machines I set up were the new ARM64/Qualcomm/CoPilot variety
3131
6. In PowerShell, `wsl --install` and `wsl --update`
3232
7. Windows Terminal is a fantastic terminal and is installed by default these days. I always set it up early with "Default Terminal Application: Windows Terminal" and "Interaction->Automatically Copy Selection to Clipboard", and set Ubuntu as default, and have it auto-start on login.
3333
8. Once Ubuntu is installed:
34-
- `sudo apt update && sudo apt install -y apt-transport-https autojump bats build-essential ca-certificates ccache clang curl dirmngr etckeeper expect git gnupg htop jq libcurl4-gnutls-dev libnss3-tools lsb-release mariadb-client nagios-plugins net-tools postgresql-client unzip vim xdg-utils zip && sudo apt upgrade -y`
34+
- `sudo apt update && sudo apt install -y apt-transport-https autojump bats build-essential ca-certificates ccache clang curl dirmngr etckeeper expect git gnupg htop inetutils-telnet jq libcurl4-gnutls-dev libnss3-tools lsb-release mariadb-client nagios-plugins net-tools pipx postgresql-client unzip vim xdg-utils zip && sudo apt upgrade -y`
3535
- `sudo snap install --classic go`
36+
- `sudo snap install node`
3637
- `sudo snap install ngrok and ngrok config add-authtoken <token>`
3738
9. In Windows Explorer, add my WSL2 home directory to favorites by copying it into the favorites area.
3839
10. Run the [DDEV WSL2 install script](https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/#wsl2-docker-ce-inside-install-script).
@@ -43,20 +44,28 @@ Two recent Windows machines I set up were the new ARM64/Qualcomm/CoPilot variety
4344
12. On Windows PowerShell `ssh -T [email protected]` to verify that the 1Password SSH agent is working. If it says "PTY Allocation Failed", just hit `<RETURN>` and ignore it. You should get the confirmation message from GitHub.
4445
13. 1Password WSL2 adaptation:
4546
`sudo ln -s /mnt/c/WINDOWS/System32/OpenSSH/ssh.exe /usr/local/bin/ssh && sudo ln -s /mnt/c/WINDOWS/System32/OpenSSH/ssh-add.exe /usr/local/bin/ssh-add` (Makes ssh use `ssh.exe` on Windows and the 1Password SSH and Git integrations then work great. This assumes that `/usr/local/bin` in your PATH comes before `/usr/bin`)
46-
14. If you have a `dotfiles` repository (containing your shared `.bash_profile`, `.zshrc`, etc.) clone it in WSL2.
47-
15. Check out DDEV's code. `mkdir -p ~/workspace && cd ~/workspace && git clone -o upstream [email protected]:ddev/ddev`
48-
16. `echo "capath=/etc/ssl/certs/" >>~/.curlrc` to make Curl work right with `mkcert`.
49-
17. GoLand setup:
47+
14. Link p4merge: `sudo ln -s "/mnt/c/Program Files/Perforce/p4merge.exe /usr/local/bin/p4merge`.
48+
15. If you have a `dotfiles` repository (containing your shared `.bash_profile`, `.zshrc`, etc.) clone it in WSL2.
49+
16. Check out DDEV's code. `mkdir -p ~/workspace && cd ~/workspace && git clone -o upstream [email protected]:ddev/ddev`
50+
17. `echo "capath=/etc/ssl/certs/" >>~/.curlrc` to make Curl work right with `mkcert`.
51+
18. GoLand setup:
5052
- Set `GOROOT` to `/snap/go` in `Linux\Ubuntu`
5153
- For ARM64 you have to do `go install github.com/go-delve/delve/cmd/dlv@latest` and put this in IDE properties (under help) `dlv.path=//wsl.localhost/Ubuntu/home/rfay/go/bin/dlv`.
52-
18. DDEV repository setup
54+
19. DDEV repository setup
5355
- Run `.githooks/linkallchecks.sh`
5456
- Install `golangci-lint` for `make staticrequired`: `go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest`
55-
19. SSH configuration on Windows side: If your SSH username is different from the username automatically configured on the Windows side (or just generally different from the default you want to use) then add something like this to `.ssh/config` on the Windows side (or at `/mnt/c/Users/<username>/.ssh/config`). This will make it so your connection username does not have to be explicitly specified when you use `ssh` or `git`:
57+
20. SSH configuration on Windows side: If your SSH username is different from the username automatically configured on the Windows side (or just generally different from the default you want to use) then add something like this to `.ssh/config` on the Windows side (or at `/mnt/c/Users/<username>/.ssh/config`). This will make it so your connection username does not have to be explicitly specified when you use `ssh` or `git`:
5658
```
5759
Host *
5860
User <default-user-you-want-to-use>
5961
```
62+
21. Install `prettier` and `mkdocs`
63+
64+
```bash
65+
sudo npm install -g prettier
66+
sudo pipx ensurepath --global
67+
sudo PIPX_HOME=/usr/local/pipx PIPX_BIN_DIR=/usr/local/bin PIPX_MAN_DIR=/usr/local/share/man pipx install mkdocs
68+
```
6069
6170
We'd love to hear your own hints and tips on how you set up a Windows machine (or any other computer!). You can contribute to this article with a [PR to the blog](https://github.com/ddev/ddev.com) or make your suggestions on [Discord](/s/discord). We welcome guest blogs too!
6271

0 commit comments

Comments
 (0)