Skip to content

Commit

Permalink
v0.9.6 (Merge pull request #31 from uavaustin/0.9.x)
Browse files Browse the repository at this point in the history
v0.9.6 :: A beta release!
  • Loading branch information
rrbutani authored Sep 28, 2017
2 parents 1e4e0dd + 5850d96 commit 2b1fd1d
Show file tree
Hide file tree
Showing 3 changed files with 845 additions and 74 deletions.
16 changes: 16 additions & 0 deletions Infrastructure/rust-dev-env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,19 @@ Contains:
* Rust IntelliJ Plugin 0.1.0.2066
* Misc. Sublime Text Rust Plugins
* And other goodies

On Windows, install WSL/Bash on Windows before running the install script. Requires Windows 1703 (Spring Creators Update) or newer. Also requires the 16.04 version of Bash on Windows (if you're on an older version the script will prompt you to upgrade).

If you're really lazy, run [this](https://github.com/xezpeleta/bowinstaller/releases/download/v0.1.1/bowinstaller.exe) to install Bash on Windows for you. (might not work)

Note that Docker For Windows installations don't currently work right, so please select Docker Toolbox if the script prompts you.

On Linux, ensure you have a supported distribution. We're using Docker CE Stable [which currently supports](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) Ubuntu Trusty (14.04 LTS), Xenial (16.04 LTS), and Zesty (17.04).

Other Linux Distros are supported as well ([check the compatability pages under Docker CE](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/)), however our script will only install Docker for you on systems that use apt (Debian/Ubuntu-based systems). If you're using something that isn't apt-based (Fedora/Arch/openSUSE/etc.) or isn't supported by the Docker CE Stable Release, you're on your own. Make sure you install docker and can run `docker run hello-world` without sudo before you run our script again.

On macOS, you'll have to install Docker yourself. This script has been tested with Docker Toolbox/Kitematic but it _should_ work with Docker for Mac too. [Docker for Mac](https://download.docker.com/mac/stable/Docker.dmg) will perform better and if you're running macOS Yosemite or newer (10.10+) try installing that first. If you're running an older version of macOS install (Docker Toolbox/Kitematic)[https://download.docker.com/mac/stable/DockerToolbox.pkg].

`curl https://raw.githubusercontent.com/uavaustin/ops/0.1.0/Infrastructure/rust-dev-env/install-uav-rust-dev-env.sh -o install-env.sh && chmod +x install-env.sh && ./install-env.sh`

N.B: curl is no longer installed by deafault on Ubuntu 17.10. Either install curl or use wget.
17 changes: 14 additions & 3 deletions Infrastructure/rust-dev-env/future-notes
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,21 @@ windows setup will be more complicated:
we need to intelligently set the DISPLAY variable for the container based on what the docker virtual interface is set to at install time (lil bit tricky, but they seem to start with 10. at least)
we should probably look into making a start menu entry to open gnome-terminal (or xming + docker start + gnome-terminal) because that makes it v v easy for windows users (none of this hacky open bash, open another terminal or powershell business)
^ this is definitely a future/feature kind of thing though

linux is and remains flawless

and as for macOS, who the hell knows
I suspect it's something similar to the xming -ac thing
at least I hope
and as for macOS, we just need to grab the host boot2docker VM's IP using docker-machine ip (and change the last digit to a 1 for the gateway) and set that to the DISPLAY variable at install time
I suspect that may work for windows as well
Also, we need to install socat and xquartz (these are straightforward enough that I don't have an issue installing these as part of the install script)
and change the start alias for macOS to also start socat

I think, our dependencies right now are as follows:
macOS: brew & a good shell & the xcode thing & the docker toolbox (not worth trying to auto install this)
we'll install xquartz and socat if they're missing
linux: docker & a good shell?
linux is pretty straight forward
windows: docker (regular or kitematic - need to test kitematic/toolbox) & bash on windows & xming
not going to attempt to auto install anything on windows

And all of this will be release 0.1.0
the auto install stuff/convenient shortcuts can be a future release
Loading

0 comments on commit 2b1fd1d

Please sign in to comment.