{% extends "base.html" %} {% block title %}AtlasServer - {{ application.name }}{% endblock %} {% block header_title %}Application Details{% endblock %} {% block content %}

{{ application.name }}

{% if application.status == "running" %} Running {% elif application.status == "stopped" %} Stopped {% elif application.status == "error" %} Error {% else %} {{ application.status }} {% endif %}
{% if application.app_type == "flask" %} Flask (Waitress) {% elif application.app_type == "fastapi" %} FastAPI (Uvicorn) {% elif application.app_type == "django" %} Django (Gunicorn) {% else %} {{ application.app_type }} {% endif %} Port: {{ application.port or 'Not assigned' }}
{% if application.status == "running" %}
{% elif application.status in ["stopped", "error"] %}
{% endif %} View logs in real time

Information

Status:
{% if application.status == "running" %} Running {% elif application.status == "stopped" %} Stopped {% elif application.status == "error" %} Error {% else %} {{ application.status }} {% endif %}
PID:
{{ application.pid or 'N/A' }}
Directory:
{{ application.directory }}
Main File:
{{ application.main_file }}
Created:
{{ application.created_at.strftime('%d/%m/%Y %H:%M:%S') }}
{% if application.status == "running" %} {% if application.ngrok_url %}
Internet URL (ngrok):
{{ application.ngrok_url }}
{% endif %} {% endif %}

Commands

Execution Command:

{% if application.app_type == "flask" %} python -m waitress --port={{ application.port }} {{ application.main_file.split('.')[0] }}:app {% elif application.app_type == "fastapi" %} uvicorn {{ application.main_file.split('.')[0] }}:app --port={{ application.port }} {% elif application.app_type == "django" %} python -m gunicorn {{ django_project_name }}.wsgi:application --bind=0.0.0.0:{{ application.port }} {% endif %}

Working Directory:

{{ application.directory }}

Log Files:

  • {{ application.directory }}/logs/stdout.log
  • {{ application.directory }}/logs/stderr.log
{% if application.app_type == "django" %} {% endif %}
{% if application.app_type == "django" %}

Django Migrations

{% endif %}

Event Log

{% if logs %} {% for log in logs %} {% endfor %}
Date Level Message
{{ log.timestamp.strftime('%d/%m/%Y %H:%M:%S') }} {% if log.level == "info" %} INFO {% elif log.level == "warning" %} WARN {% elif log.level == "error" %} ERROR {% else %} {{ log.level }} {% endif %} {{ log.message }}
{% else %}

No events registered

Events will appear here when you start the application

{% endif %}

Application Output Logs

Standard Output (stdout)

Download

Contains the normal messages and output of the application.

{{ application.directory }}/logs/stdout.log

Error Output (stderr)

Download

Contains error messages, exceptions, and warnings.

{{ application.directory }}/logs/stderr.log
{% endblock %} {% block scripts %} {% if application.app_type == "django" %} {% endif %} {% endblock %}