txAdmin Logo
<% 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.version !== '') { %> <%= recipe.version %> <% } %> <% 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 config was autofilled by ZAP-Hosting.
You may edit those, but it's strongly disencouraged.
<% } %>
The license key for your server can be obtained in Keymaster.
<% if (requireDBConfig) { %>
The IP/Hostname of the database server (usually localhost).
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()) { %>
<% } %> <% } %>
   
<% } 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 🤔
<% } %>