Requirements
- Python 3.11+ installed locally
- Account on Vertra Cloud
requirements.txtfile at project root
Project Structure
Configuration
requirements.txt
The platform automatically runs
pip install -r requirements.txt. Do not include venv or __pycache__ in the upload.settings.py
Configure yoursettings.py for production:
vertracloud.config
Deploy
- Via Dashboard
- Via GitHub
- Via VSCode
- Execute
python manage.py collectstatic --noinputlocally - Exclude
venv,.cache,db.sqlite3and__pycache__from the project - Compress into a ZIP file
- Access Dashboard → New Project → Application
- Select Python language and upload
- Configure memory (512MB recommended for Django)
- Click “Create Application”
Available Versions
Notes
- Production server: Use
gunicornto serve the Django application - Static files: Run
collectstaticand configureWhiteNoisebefore deployment - Database: Configure
psycopg2-binaryfor PostgreSQL - Migrations: Run
python manage.py migratebefore first deployment - Environment variables: Configure
SECRET_KEY, database credentials andDEBUG=False - Auto-restart: Enabled by default