Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.82 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.82 KB

Readme minishift-install-rhmap

About

The script does the following

  • Logs into Docker
  • Starts Minishift with the required resources
  • Logs onto Minishift with oc
  • Creates a inventory file (minishift-example) with the IP address in your home drive to be used with the Ansible installer
  • Adds a docker secret to all new projects
  • Deletes existing rhmap projects when used with -c flag
  • Creates projects rhmap-core and rhmap-1-node-mbaas
  • Prompts user for branch or tag and git checkout
  • Runs Ansible script for installing rhmap-core and mbaas
  • Setups mbaas target in the studio
  • Creates three environments [dev,live,test]
  • Outputs studio username, password and studio url

Prerequisites

Usage

  • Clone the repo git clone https://github.com/austincunningham/minishift-install-rhmap.git
  • Change to directory cd minishift-install-rhmap
  • Make the script runable chmod 775 setup-rhmap.sh
  • Run the script ./setup-rhmap.sh
  • For clean install run ./setup-rhmap.sh -c this removes existing rhmap-core and rhmap-1-node-mbaas projects.
  • For use with oc cluster up use ./setup-rhmap.sh -oc

Issues

Make sure the paths in the script match you local directory structure

More information

For more detailed information on this process see this guide