Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.sh improvements txt based #49

Closed
manfredmuth opened this issue Mar 3, 2023 · 1 comment
Closed

install.sh improvements txt based #49

manfredmuth opened this issue Mar 3, 2023 · 1 comment

Comments

@manfredmuth
Copy link
Contributor

manfredmuth commented Mar 3, 2023

Hi Ortwin.
See my comments marked with @ortwin.


Preparation tasks

Prepare your bastion environment:

You can use the install.sh script to simply install the demo.

Upfront running the install.sh script you need on your bastion host:

What you will need is:

  • oc client
  • helm installed
  • a local copy of the GIT repo
  • Gather information for install.sh

oc client installation

Please follow the latest documentation to have an oc client available on your bastion host: https://docs.openshift.com/container-platform/4.8/cli_reference/openshift_cli/getting-started-cli.html

HELM installation

@ortwin: HELM muss da sein, daher koennte man das auch in der install.sh abfangen #50 ...

As we currently rely on HELM charts for the deployment of our environment, please make sure to have the latest HELM release available on your bastion host by following the below procedure:

curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-amd64 -o /usr/local/bin/helm

chmod 755 /usr/local/bin/helm

A local GIT copy

Clone the GIT repo to your bastion host. Feel free to use your preferred method of choice ( ssh/https). In this example https was the easiest way.

git clone https://github.com/sa-mw-dach/bobbycar.git

Gather information for install.sh

With the GIT clone you have the following scripts available:

.
├── cleanup.sh
├── install_cleanup_vars.sh
├── install.sh
└── README.md

Please add installation information to install_cleanup_vars.sh

@ortwin: Die Weather API KEY values sollten einen Inhalt haben "" , weil sonst das install.sh fehl schlägt mit einem NIL Fehler

NAMESPACE=bobbycar
APP_DOMAIN=<e.g apps.cluster-pnc6l.pnc6l.sandbox52.opentlc.com>
API_DOMAIN=<e.g. api.cluster-pnc6l.pnc6l.sandbox52.opentlc.com>

GOOGLE_API_KEY=<add your information>
OWM_WEATHER_API_KEY=""
IBM_WEATHER_API_KEY=""

Installation

Once you are done - you are ready to start the installation

./install.sh

@manfredmuth manfredmuth changed the title install.sh improvements install.sh improvements txt based Mar 3, 2023
@ortwinschneider
Copy link
Collaborator

Thanks Manfred for the info!!

I've updated the install instructions.
If there is anything missing, please reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants