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

Register New Application

Complete the form to register a new Flask, Django or FastAPI application.

Application Information

{% if error %}

{{ error }}

{% endif %}

A descriptive name to identify the application.

Absolute path to the application directory (e.g.: C:\projects\my-app).

Name of the main file relative to the directory (e.g.: app.py).

If left empty, an available port will be automatically assigned.

Cancel

Advanced Options

Select the Python environment to execute this application. Virtual environments in the project directory will be automatically detected.

Creates a secure tunnel to access this application from the Internet. Configure ngrok token

Information about Types

Flask with Waitress

For Flask applications, the main file must contain a variable called app:

from flask import Flask
app = Flask(__name__)

FastAPI with Uvicorn

For FastAPI applications, the main file must contain a variable called app:

from fastapi import FastAPI
app = FastAPI()

Django with Gunicorn

For Django applications, configure your project like this:


                # Project structure
                myproject/
                ├── manage.py            # ← Main file to specify
                ├── myproject/
                │   ├── settings.py
                │   └── wsgi.py          # Used by Gunicorn
                
                # Make sure to:
                # 1. Have gunicorn installed: pip install gunicorn
                # 2. Configure ALLOWED_HOSTS = [''] in settings.py
                    

Tips

  • Make sure that files and directories exist before registering the application.
  • Verify that all dependencies are installed for your application.
  • If the application requires environment variables, configure them manually in the system.
  • Ports between 1024 and 65535 are available for use.
  • Avoid using Emojis in print or logging, to ensure a safe deployment.
{% endblock %} {% block scripts %} {% endblock %}