microsoft / windows-dev-box-setup-scripts

Scripts to simplify setting up a Windows developer box
MIT License
1.5k stars 367 forks source link

Improvement to dev_web and dev_web_nodejs #46

Open molant opened 6 years ago

molant commented 6 years ago

I'm going to work on improving the dev_web and dev_web_nodejs scripts. These are some of the ideas:

I'll keep this issue updated with the progress.

yodurr commented 6 years ago

Thanks Anton! We're investigating enabling installing tools inside WSL. Need to first enable auto creation of the user rather than the current prompting. After that adding WSL install commands can happen and I agree will be very useful for these scripts.

molant commented 6 years ago

PR for VS Code extensions done (#48)

jcklpe commented 6 years ago

Would it be possible to create a separate bash script that gets executed after creation of the Unix User by hand? Just curious. I'm going to try that I think.

RobCannon commented 6 years ago

Here is the bash script that I use. The only hiccup is that the oh-my-zsh install is not a silent install.

https://github.com/RobCannon/boxstarter/blob/master/boxstarter.sh

There is also an example of keeping some Linux configurations in my OneDrive folder. That means I can delete my Ubuntu installation and rebuild it in about 20 minutes.

jcklpe commented 6 years ago

@RobCannon Nice! Also this is great because I was meaning to give zsh and Oh-my-zsh another try so this is a great!

also @molant Another idea would be to have Vscode install the [Sync Settings] extension which could then auto install and configure extensions for the user if provided with a github access token and a gist ID.

RobCannon commented 6 years ago

I tried using Sync Settings, but I had trouble automating the configuration. Just putting the settings folder into OneDrive has been much simpler and it means one less extension to load!

jcklpe commented 6 years ago

Ah yeah... I just realized that the extension list that sync settings outputs to the gist isn't made by sync settings, it's made and used by VScode isn't it? So should be syncable just like user settings. Nice. I'll have to try that.

I spent this past weekend getting my old desktop machine converted into a personal Linux cloud server so instead of hopping along with my very patch work dropbox configurations backup I'm going to do things right and symlink them like you did so that it can all be organized in one place 😄

ddieppa commented 6 years ago

Why not put VSCode extensions as a separate script? that way each developers has the ability to add or remove there daily basis extensions, could be a lot of extensions, could apply the same for Visual Studio workloads