# oo **Repository Path**: mirrors_openshift/oo ## Basic Information - **Project Name**: oo - **Description**: The application behind install.openshift.com - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # oo-install.rhcloud.com This code base serves the `oo-install.rhcloud.com` application, better known as **[install.openshift.com](https://install.openshift.com/)**. ## How It Works The DIY app itself is very simple; it serves the contents of `$OPENSHIFT_DATA_DIR` using a low-tech WEBrick web server. If the user agent is `curl`, the server returns the installer bootstrap that is appropriate to the requested package. If the user agent is anything else, the server returns the landing page. ## How to Update the Site Contents The web server logic for the `oo` application lives in this codebase. However, the files that are served by the app are stored in `$OPENSHIFT_DATA_DIR`. The site contents are repackaged and pushed to the `oo` application gear using the `update_package.sh` script that is part of this application. ### Running the Updates 1. Make sure that the `oo` repo is cloned into the same directory as the [openshift-extras](https://github.com/openshift/openshift-extras) repo. 2. `cd` into the `oo` directory. 3. Run `./update_package.sh -s @` Where `` is the uuid for your openshift application hosting `oo` and `` is the application dns name. These values can be retrieved by running `rhc apps`. Under normal circumstances, this will be sufficient to update the `oo` application with the latest complete set of `oo-install` distribution files. ## How to Change the Site Contents If you examine the contents of `update_package.sh`, you will see that all of the heavy lifting is actually being done in the `openshift-extras` repo. The update script simply calls the "package" rake task from `openshift-extras/oo-install/Rakefile`, replaces the old site contents with the new, and then restarts the `oo` application. Therefore, any major changes to organization of the installer site must be performed in the installer's own [Rakefile](https://github.com/openshift/openshift-extras/blob/master/oo-install/Rakefile). ### Optional Setup To avoid having to set flags when running `update_package.sh`, you can add a Host entry in your .ssh/config file for oo-install: ``` Host oo-install HostName User IdentityFile ``` Where `` is the uuid for your openshift application hosting `oo` and `` is the application dns name. These values can be retrieved by running `rhc apps`. `` is the private key corresponding to one of the public ssh keys defined in your openshift account. SSH keys can be verified from the management console (https://openshift.redhat.com/app/console/settings for OpenShift Online).