<% if (step === 'review') { %>
Step 1: Review Recipe
Please review the Recipe below and apply any changes you want,
then press the Run Recipe button below. <% if (!recipe.isTrustedSource) { %>
Warning: Only run Recipes from trusted sources! <% } %>

<%= recipe.name %> <% if (recipe.author !== '') { %> by <%= recipe.author %> <% } %> <% if (recipe.description !== '') { %>
<%= recipe.description %> <% } %>

   
<% } else if (step === 'input') { %>
Step 1: Review Recipe ✔️
Step 2: Input Parameters
<% if (defaults.autofilled) { %>
Note: The following configs were auto-filled by <%= hostConfigSource %>.
You may edit those, but it's strongly disencouraged.
<% } %>
Formely known as License Key, it can be obtained in the Cfx.re Portal.
For more info, check the guide: How to create a registration key.
<% if (requireDBConfig) { %>
The IP/Hostname for the database server (usually <%= defaults.mysqlHost %>).
The port for the database server (usually <%= defaults.mysqlPort %>).
The database username (usually root).
The database password (usually blank).
The name of the database to be used or created.
If left empty, the deployment ID (<%= deploymentID %>) will be used instead.
If already exists, automatically deletes the database with the name provided above.
Warning: all data will be lost.
<% } %> <% if (inputVars.length) { %>
Custom Variables
<% for (const [key, inputVar] of inputVars.entries()) { %>
<% if (inputVar.description) { %> <%- inputVar.description %> <% } %>
<% } %> <% } %>
   
<% } else if (step === 'run') { %>
Step 1: Review Recipe ✔️
Step 2: Input Parameters ✔️
Step 3: Run Recipe
Your recipe is being executed, the server will be deployed to:
<%= deployPath %>

🐌🐌🐌

0%
<% } else if (step === 'configure') { %>
Step 1: Review Recipe ✔️
Step 2: Input Parameters ✔️
Step 3: Run Recipe ✔️
Step 4: Configure server.cfg
Configure your server.cfg file to your liking,
then press the Save & Run Server button below.
   
<% } else { %>
Something is wrong 🤔
<% } %>