This repo contains OpenShift templates to deploy the whole Modularity build infrastructure in a local instance of OpenShift.
This project supports running on Fedora and Mac OS X.
Deploy OpenShift locally with a single command:
$ oc cluster up
And add the OpenShift templates by running:
$ add_templates.sh
You are now able to deploy all Modularity components in two variants:
You need to have docker running and the oc command installed.
$ sudo dnf -y install docker origin $ sudo systemctl start docker $ sudo oc cluster up
You will be prompted to configure a docker registry. The configuration file is in /etc/sysconfig/docker
.
You will also need to run the following command to workaround some DNS issues:
$ sudo iptables -F
And run:
$ oc cluster up
You will be prompted to configure a docker registry. This can be done in the Docker settings UI which is available in your system tray.