The best ingredients start with a good base, as any good coding project starts with a proper environment setup. This repo is here to keep a running tab of how I like to setup environments or computers to kickstart the dev process.
xcode-select --install
Here is the setup info to run VS Code on Mac: https://code.visualstudio.com/docs/setup/mac
It is important to add the ability to run VS Code from the command line.
I tend to prefer the agnoster theme with solarized dark color scheme:
Install powerline font: https://github.com/powerline/fonts
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
cd ..
rm -rf fonts
Current font choice: Roboto Mono for Powerline
Download here: https://iterm2.com/
Go to settings and change: Profiles >> Colors >> Color Presets... >> Solarized Dark.
OPTIONAL: use ANSI Colors from here to update Terminal settings
Setup Python environment for contained environments
https://pypi.org/project/pyenv/
brew update
brew install pyenv
pyenv --version
Then add the following to your .zprofile & open a new shell after. If this doesn' work, follow the instructions provided by pyenv init
.
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
https://realpython.com/intro-to-pyenv/
https://python-poetry.org/docs/
brew install poetry
poetry --version