Skip to content

Instantly share code, notes, and snippets.

@epcim
Forked from diegopacheco/habitat.md
Last active May 29, 2018 08:48
Show Gist options
  • Save epcim/1f2850383a6c88487592434793f9be2d to your computer and use it in GitHub Desktop.
Save epcim/1f2850383a6c88487592434793f9be2d to your computer and use it in GitHub Desktop.
Habitat
hab setup

sudo groupadd hab
sudo useradd -g hab hab
hab origin key export myorigin --type public | sudo hab origin key import

#ls /hab/studios
hab studio enter
build ORIGIN/PLAN
binlink ORIGIN/PLAN
hab start myorigin/mytutorialapp
hab pkg export docker myorigin/mytutorialapp

docker run -it -p 8080:8080 myorigin/mytutorialapp

More On: https://www.habitat.sh/tutorials/getting-started/overview/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment