{% extends "base.html" %} {% block title %}AtlasServer - New Application{% endblock %} {% block header_title %}New Application{% endblock %} {% block content %}
Complete the form to register a new Flask, Django or FastAPI application.
{{ error }}
For Flask applications, the main file must contain a variable called app
:
from flask import Flask
app = Flask(__name__)
For FastAPI applications, the main file must contain a variable called app
:
from fastapi import FastAPI
app = FastAPI()
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