Python - create & deploy the project on MDB GO

How to deploy & host Python app - tutorial & free hosting

This guide will take you step by step on how to create your project and deploy using MDB CLI.


Backend project - Python

Initialize

Let's initialize the project first:

        
            
              $ mdb backend init
            
        
    

You'll be asked to choose project to initialize. There are a few starters available, but for the sake of this tutorial pick Simple Python 3 web server and hit Enter.

Publish

Once you finish building your project, use the following command to deploy it:

        
            
              $ mdb backend publish -p python3.10
            
        
    

Done! Your project will be ready. If you want to check project console use mdb logs command.