-
Notifications
You must be signed in to change notification settings - Fork 39
Dev: Prerequisites for Installing MyLA on Windows
Zhen Qian edited this page Aug 25, 2020
·
1 revision
Requirements: Windows 10 after May 2020 update, any version other than Windows 10 Home
- Follow these instructions to setup WSL2, VSCode, Ubuntu and Docker.
- Follow these tips for best practice. These include, placing the files within WSL2 (rather than on a local drive), using VSCode WSL extension.
- This also was a good reference to adding in a nice terminal and ZSH.
- Watch this video here for creating a Linux Dev environment on Windows. This video basically goes over steps 1 and 2 in the first 10 minutes. The rest is just useful tools. Especially the tips on Ditto (14:24) and .wslconfig (25:14)
- This page from Microsoft talks about managing configurations and .wslconfig which is useful if you don't want to look at the above video.
- This is also a good reference for building a python environment (Though you've probably already got this by now)
- TODO: Clean up these steps and remove outdated guides ;)
- Follow the rest of the steps in the README for installation and setup instructions.
- Disable Hyper-V on Windows.
- Install VirtualBox.
- Download Ubuntu.
a. Use Ubuntu 18.04.3 LTS. Ubuntu 12.04 LTS does not work properly with Docker. - Create and Run a Linux Virtual Machine (VM) using VirtualBox.
- Log in on your Linux VM.
- Install Docker. sudo apt install docker.io
- Start and enable Docker. sudo systemctl start docker && sudo systemctl enable docker
- Install docker-compose.
a. Remove previous installation (if needed). sudo apt-get remove docker-compose
b. sudo curl -L "https://github.com/docker/compose/releases/download/1.25.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
c. sudo chmod +x /usr/local/bin/docker-compose
d. sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
- Install Git.