Skip to main content

Requirements

  • Python 3.x installed locally
  • Account on Vertra Cloud
  • requirements.txt file at project root

Project Structure

Configuration

requirements.txt

List all project dependencies:
The platform automatically runs pip install -r requirements.txt. Do not include venv or __pycache__ in the upload.

vertracloud.config (Optional)

Example: Discord Bot (discord.py)

Example: Flask API

Deploy

  1. Exclude venv, .cache and __pycache__ from the project
  2. Compress into a ZIP file
  3. Access Dashboard → New Project → Application
  4. Select Python language and upload
  5. Configure memory and Python version
  6. Click “Create Application”

Available Versions

Notes

  • Dependencies are automatically installed via pip install -r requirements.txt
  • For Discord bots, set the token as environment variable DISCORD_TOKEN in the dashboard
  • For web APIs, listen on port PORT and host 0.0.0.0
  • Poetry and pipenv are not natively supported; use requirements.txt

Common Issues

Check if the module is listed in requirements.txt with the correct version.
Make sure you are using the correct Python version. Python 3.10+ code may not work on earlier versions.
Check if environment variable DISCORD_TOKEN is configured in the application’s environment variables.