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

notes for future windows install setup #74

Open
dezren39 opened this issue Dec 17, 2023 · 2 comments
Open

notes for future windows install setup #74

dezren39 opened this issue Dec 17, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@dezren39
Copy link

hey so i see you have a todo for using choco. this should work fine, i might suggest scoop or winget but any of those would do.

after that though, you'd need to setup docker etc, it might be easier to use wsl 2.0 as a requirement and then have a setup like so

prerequisites:

and then maybe offer a single path to achieve setup. i use docker desktop but i imagine you'd want to suggest podman or rancher but say that any of them should work. (docker licensing, etc)

  • https://docs.brew.sh/Homebrew-on-Linux
    • sudo apt-get install build-essential procps curl file git
      
  • https://brew.sh/
    • /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
      
    • image
      • don't forget this step! (per user, represented here $USER)
      • (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> "/home/$USER/.bashrc"
        eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
        
    • brew suggests installing gcc?
    • brew install gcc
      
    • brew install typestream
      

new users to docker would benefit more from docker/rancher desktop. (docker will cause businesses especially enterprise heartburn though.)

the simplicity of your windows setup might benefit from podman, though i've had more user issues spawned from local podman setups and rancher has mostly just worked.

some notes:

  • podman and rancher will likely install wsl for windows users,
  • if you don't use wsl and you go windows-native, i really recommend adding the following as prerequisite because they will reduce the weird issues people will bring to you:
    • powershell core 7.2 minimum
    • preferably windows 10/11, but it's fine.
    • i would recommend users go to 'Microsoft Store' and install 'Terminal', set their default terminal to powershell core in the terminal settings. but they will probably be fine in a powershell window or from vscode terminal, just have them send you a $PSVersionTable output when debugging so that you know what you're dealing with powershell wise.
    • Windows Key, Search For 'Terminal Settings' or "developer Features' (varies on OS)
      • enable developer mode image
      • setup powershell core or terminal as default, enable script execution image
@dezren39 dezren39 changed the title windows compatibility notes for future windows install setup Dec 17, 2023
@lucapette
Copy link
Contributor

First of all, let me thank you for these notes (and all the other issues you opened!), this is amazing work and I'm grateful.

It's true I have a TODO for choco in the docs, the reason is that I hoped someone would try this out so I'd have the chance to start a conversation around windows support.

The problem is that I have never had a windows machine in my entire life so I have no idea about windows setups for developers, in fact I barely understand your suggestions there.

Of course, I really want to support windows for the "getting started experience" (meaning, I'd exclude any production env... I'm not sure that's even a thing) but it definitely can't do this alone because I don't have the content or the understanding for leading this.

Short term, what I'm thinking is to leave this open and link it from the docs (I will take care of this right after I'm done commenting). The hope being someone will want to take care of this for TypeStream: docs, testing. I could do revamp the docs with your suggestions on my own but I don't feel comfortable with the idea I haven't tested them. Which makes me think: it's unclear to me if you managed to run TypeStream on windows or not?

@dezren39
Copy link
Author

Thank you! I did manage to run it through WSL! I intend to try and see what happens from native Windows sometime soon. I agree that Windows installs would typically be non-production/for-development-purposes. If I get more comfortable with all this I might try and help more with the docs.

@lucapette lucapette added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants