Skip to content

Instantly share code, notes, and snippets.

@kellishouts
Created March 22, 2016 01:01
Show Gist options
  • Save kellishouts/425aec3de115dfff4bf0 to your computer and use it in GitHub Desktop.
Save kellishouts/425aec3de115dfff4bf0 to your computer and use it in GitHub Desktop.
Airship Vagrant Setup

setup test or dev env

install vagrant

install coreos

  • i setup mine in ~/VirtualBox\ VMs/
  • git clone https://github.com/coreos/coreos-vagrant
  • cd coreos-vagrant
  • subl Vagrantfile
    • uncomment line 124
    • config.vm.synced_folder "~/", "/home/core/share", id: "core", :nfs => true, :mount_options => ['nolock,vers=3,tcp']
  • vagrant up
    • wait for setup
  • vagrant ssh
    • exit

find ip of coreos vm

ip addr show eth1 | awk '/inet/ {print $2}' | cut -d/ -f1

update your local machine's hosts file

replace the ip with the ip from the line above sudo echo "172.17.8.101 coreos" >> /etc/hosts

for local haxe

install haxe from http://haxe.org/download/

setup haxelib

haxelib setup

install dependencies

haxelib install utest

optionally run postgres container

docker run --name postgres-server -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment