Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.69 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.69 KB

Instructions

Download and execute for a fresh install

wget -qO- https://raw.githubusercontent.com/karlwalsh/env/master/bootstrap.sh | sh

This script does the following

  1. Install dependencies (git and ansible)
  2. Checks out the git project under ~/.env (skips if already checked out)
  3. Moves into the project directory
  4. Installs ansible requirements through ansible-galaxy
  5. executes the ansible playbook

You will be asked for your password when it performs a sudo apt update and once again when ansible asks for the become password.

Configure git

Update global git config - this will replace the existing global ~/.gitconfig and ~/.gitignore files.

cd ~/.env
make configure-git GIT_USERNAME="Groovy Gorilla" [email protected]

Configure swap

Update an existing swapfile at /swapfile. The variable SWAP_SIZE is in gigabytes.

cd ~/.env
make configure-swap SWAP_SIZE=2

TODO