feat: env config

This commit is contained in:
2020-02-22 22:10:35 +01:00
parent be20cc4796
commit 4b0df9b529
2 changed files with 9 additions and 13 deletions

View File

@ -1,5 +1,12 @@
#!/bin/bash
# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
# install pyenv
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
# install fisher
curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish

15
main.sh
View File

@ -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"