-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DDEV Windows Setup #270
DDEV Windows Setup #270
Conversation
Deploying ddev-com-front-end with Cloudflare Pages
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a few observations just based on reading the article (not actually testing the instructions manually alongside due to the lack of a windows computer in my possession)
- Slack | ||
- [Perforce P4V](https://www.perforce.com/downloads/helix-visual-client-p4v) is my favorite merge conflict resolver. | ||
6. In PowerShell, `wsl --install` and `wsl --update` | ||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a windows user so i am unfamiliar with the details but the detail that puzzles me is, point 6 is about powershell and then point 7 is all of a sudden about windows terminal which is, i suppose, something different?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PowerShell is a shell, Windows Terminal is a way to access it. Like iTerm2 is a terminal, bash/zsh are shells.
6. In PowerShell, `wsl --install` and `wsl --update` | ||
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. | ||
8. Once Ubuntu is installed: | ||
- `sudo apt update && sudo apt install -y apt-transport-https autojump build-essential ca-certificates ccache clang curl dirmngr etckeeper expect git gnupg jq libcurl4-gnutls-dev libnss3-tools lsb-release mariadb-client nagios-plugins net-tools postgresql-client unzip vim xdg-utils zip` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about sudo apt upgrade
after sudo apt update
?
I remember that usually WSL2 has outdated packages after installing it.
12. On Windows PowerShell `ssh [email protected] [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. | ||
13. 1Password WSL2 adaptation: | ||
`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`) | ||
14. If you have a `dotfiles` repository (containing your shared `.bash_profile`, `.zshrc`, etc.) clone it into your projects directory on WSL2 your WSL2 home directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what was supposed to be said here, please check. (I have my dotfiles in ~/dotfiles
, and use rsync to sync the files on the host.)
Co-authored-by: Stanislav Zhuk <[email protected]>
Co-authored-by: Stanislav Zhuk <[email protected]>
b69aa04
to
df861bb
Compare
The Issue
DDEV Windows Setup blog
Rendered version at https://20241103-windows-setup.ddev-com-front-end.pages.dev/blog/windows-ddev-setup/