Deployment command

Connected Tutorial
This question is a follow-up to this tutorial:

As I was following the manual I noticed that the build command is not provided, it just says it has to point to as {project-name}.wsgi file, which was never referred before. As i did everything my build crashed with the error: Command not found, which is obvious, because I don’t know which build command to provide. Please advice.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Hey there!

That tutorial does use Gunicorn which would require a run command for it to work properly. If you followed that tutorial as written then your project should be named: django_app.wsgi and you would set the run command to: gunicorn --worker-tmp-dir /dev/shm django_app.wsgi If you named your project something else then you would update the run command to use the correct project name. There isn’t a build command needed. You can set the run command for your app under the settings section of your app.

Hope it helps! Nate