Demo:
- Dotfiles repo: https://github.com/jawilson/dotfiles
- Demostration:
- Create new WSL distribution:
wsl --install Debian --name dotfiles-demo
- Install
gitsudo apt update && sudo apt install -y git - Clone and install dotfiles
git clone https://github.com/jawilson/dotfiles.git ~/.dotfiles cd ~/.dotfiles ./install.sh
- Create new WSL distribution:
Resources
- Development Containers
- VS Code: Developing Inside a Devcontainer
- VS Code: Personalizing Devcontainers with Dotfiles
Demo:
- Ensure the following are in your
settings.json(dotfiles.targetPathanddotfiles.installCommandare unchanged from defaults):{ "dotfiles.repository": "your-github-id/your-dotfiles-repo", "dotfiles.targetPath": "~/dotfiles", "dotfiles.installCommand": "install.sh" } - Install the Dev Containers (or I'd recommend the Remote Development extension pack
- Open a repo with a
.devcontainer/devcontainer.json, open the command palate and runDev Containers: Reopen in Container
Resources:
Demo:
- Configure the Github Codespaces settings:
- Configure your Dotfiles repo
- Add secrets:
- AWS secrets (
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEY) - GitHub Package Registry PAT (you'll want to configure npm in your dotfiles install script)
- AWS secrets (
- Enable settings sync
- Set Visual Studio Code as preferred editor
- Navigate to a repo on GitHub with a devcontainer configured (e.g. this VideoConductor branch)
- Code -> Codespaces tab -> "Create codespace on <branch>"