You bring your web app in a
- GitHub repo
- App Platform handles deployments and builds
- DNS, HTTPS, CDN, DDoS Mitigation, Vertical Scaling, Horizontal Scaling, and more.
Try to run python manage.py in a Dokku/Docker Container
I have a problem with Dokku and Django.
I created a DigitalOcean Dokku Droplet and pushed my Django App. The Application works fine, but there is a problem if I try to run a Django Command.
dokku run APP 'python manage.py migrate' (or collectstatic, createsuperuser - it doesn’t matter)
Every time I get this error:
/exec: row 10: python manage.py migrate: command not found
I have no idea why
Thanks and Greetings
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×