Let's see how much we can get out of this thing.
- Native tools only. No Docker. No Virtualization. No "local dev" products.
- Minimize the number of apps. No Chrome.
- Use Windows apps whenever possible. VSCode vs IntelliJ
- Document all of our steps.
There are a few steps to get started that aren't fully documented.
-
Install PowerShell or PowerShell 6.
- I had to enable something in the windows store to allow "untrusted apps" to be installed. I don't remember exactly how I did that and can't find the page in my history.
-
Enable WSL (Windows Subsystem for Linux).
- https://docs.microsoft.com/en-us/windows/wsl/install-win10?redirectedfrom=MSDN
- Run PowerShell as Administrator.
- Run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
. - Restart.
-
Install Ubuntu
- Press ":windows:" key and type "Ubuntu" to search.
- Under "Store", select "Ubuntu: App" and click "Get" to install.
- Run the "Ubuntu" App, and you get a Bash terminal! Create your user.
-
Install Drupal LAMP stack:
sudo apt install apache2 php mysql-server php-mysql php-gd php-xml php-mbstring php-curl composer
-
Install VS Code:
- :windows: key, type "vscode".
-
Run VS Code.
- When you first run VS Code, you will see a notification: "Enable WSL". This will re-open code with the filesystem from the Ubuntu instance instead!
https://www.tecmint.com/increase-set-open-file-limits-in-linux/
ulimit -n 65536