/\\\\\\\\\ /\\\\\\\\\\\\ /\\\ /\\\\\\\\ /\\\ /\\\ /\\\\\\\\\
/\\\///////\\\ \/\\\//////// \/\\\ /\\\\\\\\\\\ \///\\\ /\\\/ /\\\///////\\\
\/\\\ \/\\\ \/\\\ \/\\\ /\\\///////\\\ \///\\\ /\\\/ \/\\\ \/\\\
\/\\\\\\\\\\\/ \/\\\\\\\\ \/\\\ \/\\\ \/\\\ \////\\\/ \//\\\\\\\\\\/
\/\\\//////\\\ \/\\\//// \/\\\ \/\\\\\\\\\\\\\ /\\\/\\ \/\\//////\\\
\/\\\ \//\\\ \/\\\ \/\\\ \/\\\///////\\\ /\\\////\\\ \/\\\ \//\\\
\/\\\ \//\\\ \/\\\ \/\\\ \/\\\ \/\\\ /\\\/ \///\\\ \/\\\ \//\\\
\/\\\\\\\\\\\/ \/\\\\\\\\\\\\ \/\\\\\\\\\\\ \/\\\ \/\\\ /\\\/ \///\\\ \///\\\\\\\\\/
\/////////// \//////////// \/////////// \/// \/// \/// \/// \/////////
git clone https://github.com/Belax8/dotfiles.git ~/.dotfiles
git clone git@github.com:Belax8/dotfiles.git ~/.dotfiles
Run the full setup
./setup.sh
Pull git and create/update links
./sync-dotfiles
The following will be installed with the setup script:
- Neovim
- Node
- Nodeenv
- Starship
- Stow
- Tmux
- Vim
- Zsh
The following will need to be run manually, if you want them installed:
- AWS
- Bun
- Docker
- Mosh
- Tailscale
- Virtualenv
Run the following command to update packer and all the plugins:
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
After it's installed, open a tmux session and install the packages (ctrl+b I
)
virtualenv --python=python3.8 $HOME/env/<project-name>
Set up SSH keys
ssh-keygen -t ed25519 -C "<github-email>"
EC2 instances don't have a password by default, so give your user a new one
sudo passwd <user_name>
Customize the hostname
sudo hostnamectl set-hostname <hostname>
This script will update the EC2 instance's IP address in Route 53
cp .update_ip_address.sh $HOME
Open .update_ip_address.sh
and configure INSTANCE_ID
, SUBDOMAIN
& HOSTED_ZONE
, then add the
following line to your crontab.
@reboot $HOME/.update_ip_address.sh