How to Configure Python projects

This document will explain how to deploy a `flask` or any other WSGI-based python app on Pandastack

Follow the steps below to deploy a python based application on Pandastack:


Pre-requisites:

  • Your Node.js app must listen on port 9999.

  • Alternatively, you can override this by setting the PORT environment variable during deployment


  1. Go to your dashboard Visit dashboard.pandastack.io/projects and click “Add New Project”.

  2. Select your repository Choose the GitHub repository that contains your Node.js application.

  3. Enable container deployment Toggle the “Run as Container” option to run your app inside a secure container environment.

  4. Configure the deployment Fill in the project setup form based on your application’s structure:

    • Set the environment variables (e.g., PORT)

    • Define build/start commands if needed

    • Choose your runtime environment (e.g., Node.js 18) by defining NODE_VERSION ENV.

  5. Allocate resources Select CPU and memory as per your app’s requirements.

  6. Deploy your app Click “Deploy Container Site”. The build process will begin, and logs will stream in real time.


📦 After Deployment

Once deployed, your app will be live on a secure Pandastack URL. You can manage your deployment, environment variables, and logs from the dashboard.

Last updated