Skip to content

Instantly share code, notes, and snippets.

View nellshamrell's full-sized avatar

Nell Shamrell-Harrington nellshamrell

View GitHub Profile

Set Up

Without Hab

  • Create Ubuntu VM in AWS (or whichever cloud provider you prefer)
  • SSH into instance
$ sudo apt-get update
$ sudo apt install git
$ wget https://packages.chef.io/files/stable/inspec/3.0.9/ubuntu/18.04/inspec_3.0.9-1_amd64.deb
@nellshamrell
nellshamrell / hab_kube_tutorial.md
Last active May 3, 2019 22:44
Habitat Kubernetes notes

Basics:

git clone https://github.com/habitat-sh/sample-node-app
cd sample-node-app
npm install
vim habitat/plan.sh # Replace your_origin with your origin
hab studio enter
build
sudo apt update
sudo apt install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install -l
rbenv install 2.6.4