// Module included in the following assemblies:
//
// assembly-installing.adoc

[id='installing-using-template-{context}']
= Installing {ProductName} using OpenShift template

Installing {ProductName} using the OpenShift template is useful for evaluating {ProductName}. For a
production setup, it is recommended to use one of the following installation methods instead:

* link:{BookUrlBase}{BaseProductVersion}{BookNameUrl}#installing-using-bundle-messaging[Installing {ProductName} using a YAML bundle]
* link:{BookUrlBase}{BaseProductVersion}{BookNameUrl}#installing-using-ansible-messaging[Installing {ProductName} using Ansible]
* link:{BookUrlBase}{BaseProductVersion}{BookNameUrl}#installing-using-manual-steps-messaging[Installing {ProductName} manually]

.Procedure 

. Log in as a user with `cluster-admin` privileges:
+
[options="nowrap",subs="attributes"]
----
oc login -u system:admin
----

. Create the project where you want to deploy {ProductName}:
+
[options="nowrap",subs="+quotes,attributes"]
----
oc new-project _{ProductNamespace}_
----

. Deploy using `{ProductTemplateName}` template:
+
[options="nowrap",subs="+quotes,attributes"]
----
oc process -f install/templates/{ProductTemplateName} NAMESPACE=_{ProductNamespace}_ | oc apply -f -
----

