项目作者: piotrekno1

项目描述 :
Windows Subsystem for Linux provisioning code
高级语言: SaltStack
项目地址: git://github.com/piotrekno1/wsl-provision.git
创建时间: 2017-05-15T23:36:23Z
项目社区:https://github.com/piotrekno1/wsl-provision

开源协议:MIT License

下载


Windows subsystem for Linux development setup

This repository contains code that provisions a bare bone WLS installation with tools listed below:

  • Clang
  • Cython
  • Docker (in client mode)
  • git
  • golang
  • heroku cli
  • oracle java8
  • node
  • python
  • rust
  • vim + ultimate-vim setup
  • zsh + oh-my-zsh

On top of that various customaizations are done to:

  • Start an ssh agent & load keys from ~/.ssh on startup
  • Fix shell syntax higlighting.

Before you start

Download & install a decent shell application:

Download & install docker for Windows. Linux version will connect to it through DOCKCER_HOST.

If you want a nice font please try Hack.

Provisioning

Scripts in this repositroy depend on SaltStack.
Please install it by executing the command below:

  1. wget -qO- https://bootstrap.saltstack.com | sudo sh -s -- -P -d git develop

Fill out templating info:

  1. cp states/vars.template states/vars
  2. vim states/vars

Once done, run saltstack:

  1. sudo salt-call --local --file-root=./states state.highstate

Please wait for the scipts to do their work. This should take around 5 mins.

Profit!