{% extends "base.html" %} {% block title %}{{ app.name }} - Hop3 Dashboard{% endblock %} {% block content %}
{% if request.query_params.get('created') == 'true' %}

App Created Successfully!

Application "{{ app.name }}" has been created. To deploy your code, use the CLI: hop3 deploy {{ app.name }} /path/to/your/app

{% endif %} {% if request.query_params.get('success') == 'true' %}

Action Successful!

{% if request.query_params.get('action') == 'restart' %} Application "{{ app.name }}" is restarting. {% elif request.query_params.get('action') == 'stop' %} Application "{{ app.name }}" has been stopped. {% endif %}

{% elif request.query_params.get('success') == 'false' %}

Action Failed!

{% if request.query_params.get('action') == 'restart' %} Failed to restart application "{{ app.name }}". Check the logs for details. {% elif request.query_params.get('action') == 'stop' %} Failed to stop application "{{ app.name }}". Check the logs for details. {% endif %}

{% endif %}

{{ app.name }}

Application details and process information

View Logs {% if app.state == 'RUNNING' %}
{% else %}
{% endif %}
{% include 'dashboard/_app_status.html' %}

Basic Information

Application Name
{{ app.name }}
Port
{{ app.port }}
Hostname
{% if app.hostname %} {{ app.hostname }} {% else %} Not configured {% endif %}
Created At
{{ app.created_at.strftime('%Y-%m-%d %H:%M:%S') if app.created_at else 'N/A' }}
Last Updated
{{ app.updated_at.strftime('%Y-%m-%d %H:%M:%S') if app.updated_at else 'N/A' }}

Application Paths

Root Path
{{ app.app_path }}
Source Path
{{ app.src_path }}
Data Path
{{ app.data_path }}
Log Path
{{ app.log_path }}
{% if app.workers %}

Processes

{% for process_type, command in app.workers.items() %} {% endfor %}
Process Type Command
{{ process_type }} {{ command }}
{% endif %} {% if addons %}

Attached Addons

{{ addons | length }} service(s)
{% for service in addons %} {% endfor %}
Addon Name Type Attached Actions
{{ addon.addon_name }} {{ service.service_type }} {{ service.created_at }} View Details
{% endif %} {% if app.env_var_count > 0 %}

Environment Variables

{{ app.env_var_count }} variables

Environment variables are managed via the CLI. Use hop3 config:set to add or update variables.

{% endif %}

Quick Actions

{% endblock %}