mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
[id=creating-an-application-with-a-database]
|
|
= Creating an application with a database
|
|
include::modules/developer-cli-odo-attributes.adoc[]
|
|
include::modules/common-attributes.adoc[]
|
|
:context: creating-an-application-with-a-database
|
|
toc::[]
|
|
|
|
This example describes how to deploy and connect a database to a front-end application.
|
|
|
|
.Prerequisites
|
|
|
|
* `{odo-title}` is installed.
|
|
* `oc` client is installed.
|
|
* You have a running cluster. Developers can use link:https://access.redhat.com/documentation/en-us/red_hat_codeready_containers/[CodeReady Containers (CRC)] to deploy a local cluster quickly.
|
|
* The Service Catalog is installed and enabled on your cluster.
|
|
+
|
|
[NOTE]
|
|
====
|
|
Service Catalog is deprecated on {product-title} 4 and later.
|
|
====
|
|
|
|
|
|
include::modules/developer-cli-odo-creating-a-project-in-odo.adoc[leveloffset=+1]
|
|
|
|
include::modules/developer-cli-odo-deploying-the-front-end-component.adoc[leveloffset=+1]
|
|
|
|
include::modules/developer-cli-odo-deploying-a-database-in-interactive-mode.adoc[leveloffset=+1]
|
|
|
|
include::modules/developer-cli-odo-deploying-a-database-manually.adoc[leveloffset=+1]
|
|
|
|
include::modules/developer-cli-odo-connecting-the-database.adoc[leveloffset=+1]
|
|
|
|
include::modules/developer-cli-odo-deleting-an-application.adoc[leveloffset=+1]
|