Based on my persnal configuration of .otfiles used to bootsrap my working environment easly, I have made a prot for our personal use.
The dot files provide following functionality: pyenv - python version manager rbenv - ruby version manager goenv - go version manager nvm - node version manager jabba - ultimate java version manager sdkman - java development tools manager linuxbrew - user level package manager
In order to start using this setup these steps should be followed:
First we need to ensure that user that we are setting up dotfiles for, must be added to passwordless sudo. We can do that by execution folowing command.
sudo visudoAfter file opens we need to ensure to append folowing line:
user ALL=(ALL) NOPASSWD: ALLOnce this is done we can proceed to download required files. NOTE: the directory where we are downloading sources we need to put in .dotfiles directory We can do this by running following command.
git clone --recursive --depth=1 http://192.168.130.44/samir.radvanski/dotphiles.git .dotfiles Once all of sources donwloaded we can ensure to add correct user into our variables settings, this can be done by adding our user into:
vim .dotfiles/_internal/variables/variables.d/00-common.shAnd change user referenced in:
DOT_USER=your-usernameMake sure that we copy sample configuration in user base configuration.
cd .dotfiles/_config
cp install.sample.config.yaml install.config.yaml