How do you deploy a Python program?

To deploy, you need to upload this artifact to your production machine. To install it, just run dpkg -i my-package. deb . Your virtualenv will be placed at /usr/share/python/ and any script files defined in your setup.py will be available in the accompanying bin directory.

Hi @narendra.nareshit,

Thanks for getting in touch! It sounds like you’re on the right track. It basically comes down to if you have your Python program packaged, Octopus can deploy that package. This is done by configuring a project with a deployment process to deploy the package to the specified targets. If needed, we also have built-in support for Python scripting which you can configure as standalone steps in the same deployment process or execute scripts in the package being deployed.

I hope that helps in some way! Let me know how you go or if you have any further questions going forward.

Best regards,

Kenny

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.