- Build a setup like Ryzen-Allrounder from https://www.heise.de/ct/artikel/Der-optimale-PC-2020-4564302.html
- Install Windows 10 Pro
- WSL2 is so much faster, upgrade to the Windows Insider Program:
https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
- Maybe limit max RAM usage: microsoft/WSL#4166 (comment)
- Turn "Windows Subsystem for Linux" on (Control Panel > Programs > Turn Windows features on or off)
- Applications from Microsoft Store
- Windows Terminal
- Ubuntu 18.04 LTS (Launch it once, to really install it)
- Applications
- VS Code (will auto detect WSL. you can launch it "from" ubuntu with
code .)
- VS Code (will auto detect WSL. you can launch it "from" ubuntu with
- Other Applications
- Firefox
- TablePlus
- Slack
- Dropbox
- Google Drive File Stream
- 1password
- Mailbird
-
sudo apt-get update -
sudo apt-get install python3-pip python3-dev libpq-dev virtualenv libcairo2-dev libpango1.0-0 libxml2-dev libxslt1-dev libffi-dev libssl-dev openssl python-openssl postgresql postgresql-contrib redis -
sudo apt-get install nginx curl vim git ufw gettext nodejs zsh chromium-browser -
Install (the other)
yarncurl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn -
Create a new or add your SSH key(s) to
~/.ssh/...(see https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54) -
Create a new postgres user with a password (or just change the password of the
postgresuser), this may help https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-18-04 and start it withsudo service postgresql start(WSL doesn't supportsystemctrl) -
scss-lint:
sudo apt install ruby-fullsudo gem install scss_lint
sudo add-apt-repository ppa:deadsnakes/ppasudo apt updatesudo apt install python3.6 python3.6-devvirtualenv -p $(which python3.6) envsource env/bin/activatepip install -e git+https://github.com/ekalinin/nodeenv.git#egg=nodeenvnodeenv -p --node=8.10.0(-pto install it into the current activated virtual env)
- Clone your project
- Create env
virtualenv -p $(which python3) env(or ) pip install -r REQUIREMENTS_LOCALyarngulp build- and so on, depending on the project obviously, read the README. e.g. don't forget stuff like
ln -s ../../pre-commit .git/hooks/pre-commit
- Extensions on WSL
- Python (chose flake8 linter)
- ESLint
- scss-lint
- gettext
- Django
- Close HTML/XML tag (alt+.)
- Extensions local
- Remote - WSL
sudo service postgresql startsudo service redis-server startadd_ssh_keysffw
-
VS Code: File Icon Theme: Minimal
-
Windows: Activate old tab switcher, see https://www.addictivetips.com/windows-tips/classic-icons-on-alt-tab-windows-10/
-
~/.tmux.confmit# Enable mouse mode (tmux 2.1 and above) set -g mouse on