# How to Configure Python projects

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

***

{% hint style="info" %}
✅ **Pre-requisites:**

* Your Node.js app **must listen on port `9999`**.
* Alternatively, you can override this by setting the `PORT` environment variable during deployment
  {% endhint %}

***

1. **Go to your dashboard**\
   Visit [dashboard.pandastack.io/projects](https://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.

1.

```
<figure><img src="/files/81rvfR3Qy0QfhLVUEo7c" alt=""><figcaption></figcaption></figure>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pandastack.io/v1/getting-started/platform/conatinered-website/how-to-configure-python-projects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
