Install Go.
Git clone the repo into $GOPATH/src/github.com/ClubCedille/.
Enter the pixicoreAPI directory.
Install Dep, a program that will manage Go dependencies.
Add dep to your PATH like this: export PATH=$PATH:$GOPATH/bin.
Now you can install all the package dependencies with dep ensure.
go test ./... && go build ./cmd/pixicoreAPI && ./pixicoreAPI will run the tests, build the program and run it.
Install Vagrant and VirtualBox
Create a hostonly adapter with VBoxManage with VBoxManage hostonlyif create
Copy the returned name and replaced in the Vagrantfile where vboxnet0 is used;
Run vagrant up or separately with (vagrant up master), (vagrant up vboxNode1), (vagrant up vboxNode2).
ssh into the master with vagrant ssh master
docker build -t pixicoreapi .
docker run -d -p 3000:3000 pixicoreapi
Change the IP address for each server in the servers-config.yaml file
You can run curl -i http://localhost:3000/v1/install/SERVER_MAC_ADDRESS: this will collect info and install coreOS for the server
You can run curl -i http://localhost:3000/v1/all/: this will collect info and install coreOS for each server
GET v1/boot/:macAddressGET v1/install/:macAddressGET v1/allGET v1/serversContent type
Image
Digest
Size
272 MB
Last updated
over 7 years ago
docker pull clubcedille/kea