Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.39 KB

README.md

File metadata and controls

63 lines (44 loc) · 1.39 KB

HAL 9000

HAL 9000

Dominating your dev environment like cats rule the Internet.

Building a Dockerized development environment with Ansible on Mac OS X. Inspired by IFTTT's Dash.

HAL will configure these tools for you, Dave:

  • Homebrew
  • Ansible
  • VirtualBox
  • Docker
  • Docker Machine
  • Docker Compose
  • Go
  • Node.js
  • Python
  • and your dotfiles

You may need to...

  1. Install Xcode from Mac App Store
  2. Install Command Line Tools via xcode-select --install

Bootstrap

$ bash <(curl -fsSL https://raw.githubusercontent.com/vinta/HAL-9000/master/bin/open-the-pod-bay-doors)

Usage

# pull the repo and run ansible-playbook
$ hal update

# create the Docker Machine VM
$ hal create

# setup nginx-proxy and dnsmasq
$ hal prepare

$ cd /path/to/your_project/ # that contains a docker-compose.yml file
$ docker-compose up
# or
$ hal up # == hal prepare + docker-compose up

# add the file to the dotfiles repository
$ hal link ~/.zshrc

# remove the file from the dotfiles repository
$ hal unlink ~/.zshrc

# force sync dotfiles
$ hal sync

# open the pod bay doors, please, HAL
$ hal open-the-pod-bay-doors