Skip to content
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

Add a dev env setup guide for Windows (MSYS2) #66

Open
rdw-software opened this issue Feb 5, 2023 · 0 comments
Open

Add a dev env setup guide for Windows (MSYS2) #66

rdw-software opened this issue Feb 5, 2023 · 0 comments

Comments

@rdw-software
Copy link
Member

rdw-software commented Feb 5, 2023

Same as #65

Windows Env Setup:

1. Download MSYS2
1. Get Windows Terminal from MS Store (or Cmder from GitHub)
1. Install zsh, zsh stuff if you want it prettier
1. install stuff via pacman (existing docs)
1. Stylua -> cargo -> 
	pacman -S mingw-w64-x86_64-rust
	cargo install stylua
	add bin to path (C:\Users\name\.cargo\bin

For the docs:

pacman -S mingw-w64-x86_64-nodejs

See https://packages.msys2.org/package/mingw-w64-x86_64-nodejs?repo=mingw64

(Just kidding, of course it doesn't work... Have to forward the path or start a separate MINGW shell, e.g. F:\MSYS2\msys2_shell.cmd -defterm -here -no-start -full-path -mingw64 -shell zsh)

Test via echo $PATH (should include /mingw64/bin and NOT the windows paths

For uws tests (autobahn): Docker etc

Add to bashrc or zshrc:

export PATH="$PATH:/c/Program Files/Docker/Docker/resources/bin"

(with the right path, obviously)


Windows Terminal does not render Uncicode properly (e.g., for the PASS/FAIL icons used in the test suite)

Solution (Windows 10): Enable this setting under Region -> Administrative -> Change System Locale ...

"Beta: Use Unicode UTF-8 for worldwide language support" (checkbox)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant