feat: env config
This commit is contained in:
15
main.sh
15
main.sh
@ -2,19 +2,11 @@
|
||||
|
||||
USER=t31m
|
||||
|
||||
# we need to be root for this install script
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ubuntu Baseline Packages
|
||||
|
||||
# update repos + system
|
||||
apt get update && apt upgrade
|
||||
|
||||
# install env packages
|
||||
apt install git fish fzf pyenv pyenv-virtualenv
|
||||
apt install git fish fzf
|
||||
|
||||
# install docker stable, if this failes try below
|
||||
curl -fsSL https://get.docker.com | sh
|
||||
@ -26,7 +18,4 @@ chmod +x /usr/local/bin/docker-compose
|
||||
|
||||
usermod -aG docker t31m
|
||||
|
||||
# install nvm
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
|
||||
|
||||
|
||||
echo "Initial Setup Complete. Please run fish_setup.sh for env setup"
|
||||
|
||||
Reference in New Issue
Block a user