Clone this repository inside a GOPATH. These instructions will use the example GOPATH of "$HOME/Projects/fm/core" but you can use whatever you want. Just change the first line of the below instructions to use your GOPATH.
export GOPATH=$HOME/Projects/fm/core
mkdir -p $GOPATH
cd $GOPATH
git clone git@github.com:managef/ui
mkdir -p src/github.com/managef
cd src/github.com/managef
git clone git@github.com:managef/api
git clone git@github.com:managef/worker
git clone git@github.com:managef/models
export PATH=${PATH}:${GOPATH}/bin
-
Install Glide and update - the Go dependency management tool that ManageF uses to build itself
cd ${GOPATH}/src/github.com/managef/guides
make install
-
Build manageF
cd ${GOPATH}/src/github.com/managef/api
make build
-
Deploy in OpenShift
oc login -u system:admin
Create NameSpace
oc new-project manage-f
Execute
make install build docker openshift-deploy
-
Install GRPC
Install protoc-3.5.1-<os>_<arch.zip in https://github.com/google/protobuf/releases
-
Deploy minikube
You need to have minikube start (https://github.com/kubernetes/minikube)
Create Namespace manage-f
kubectl create namespace manage-f
Deploy
make minikube-docker make k8s-deploy
See pods
kubectl get pods --namespace manage-f
See endpoints
kubectl get endpoints --namespace manage-f
See all resources
kubectl get all --namespace manage-f