Report this

What is the reason for this report?

How to run management commands when deploying Django apps via the API?

Posted on November 16, 2020

Hi there,

When launching a Django app using the API of Digital Ocean App Platform, how do I programmatically run manage.py collectstatic and manage.py migrate after the deployment has finished?

thx! Gijs

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.