- 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)
yarn
curl -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
postgres
user), 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-full
sudo gem install scss_lint
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.6 python3.6-dev
virtualenv -p $(which python3.6) env
source env/bin/activate
pip install -e git+https://github.com/ekalinin/nodeenv.git#egg=nodeenv
nodeenv -p --node=8.10.0
(-p
to install it into the current activated virtual env)
- Clone your project
- Create env
virtualenv -p $(which python3) env
(or ) pip install -r REQUIREMENTS_LOCAL
yarn
gulp 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 start
sudo service redis-server start
add_ssh_keys
ffw
-
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.conf
mit# Enable mouse mode (tmux 2.1 and above) set -g mouse on