:toc: macro = AutoPatch
Patching tool to assist with exclude maintenance.
toc::[]
= Basic Setup
== Create a project Create a project to house the app:
Install and launch the app from a template: (currently the LDAP_BASEDN needs separate the dc=.. by spaces not commas because causes problems with last command oc process)
Then, check the results:
= Builds
Docker image builds can be initiated by navigating to the "Builds" tab in the V3 web console. Click on the Start Build button for each service.
You can also initiate the builds from the command line:
Watch the progress:
= Routing
In order to view the patchapp, you'll need to expose your service by setting up a Route.
The optional --hostname
flag allows you to create a custom route to an existing service
:
Make sure this route is addressable from wherever you are running your browser (an /etc/hosts
entry in your client may be required).
Excluding the --hostname
flag should generate a default route that automatically takes advantage of your cluster's wildcard DNS (if available):
Now, try listing your existing routes:
= Local Development
== Pre-Requisutes
== Run patchapp locally
The 'run' Makefile target will install application dependencies within a python virtual environment and then run the application.
You can enable Django debugging by setting the following in the project/settings.py
DEBUG = True
Return DEBUG to False or do not push changes to production.