Where the code goes
~/web/yourdomain.com/app, with a requirements.txt. Each app has its own virtualenv at app/.venv for the Python version you chose.
Choose the framework
App settings → Django, Flask, FastAPI/Starlette, any WSGI or ASGI app, or a script. Check the start command names your module: Django myproject.wsgi:application, Flask app:app, FastAPI main:app.
Django settings
ALLOWED_HOSTSmust include your domainSTATIC_ROOTmust be set — Deploy runscollectstaticandmigrate- Keep
SECRET_KEYand the database URL in Environment variables
Deploy
Press Deploy — pip install -r requirements.txt, then the build step, then a restart.
In the terminal
cd ~/web/yourdomain.com/app
source .venv/bin/activate
pip install -r requirements.txt
python manage.py createsuperuser
deactivate
mkdir -p tmp && touch tmp/restart.txt # restart the appStuck? Our engineers answer support tickets around the clock. Contact us, or create an account and open a ticket from the dashboard — the same guides are there too.