From 916c0486811ac249543bbd1e644d9002238f3e5c Mon Sep 17 00:00:00 2001 From: Darshita02 Date: Tue, 30 Dec 2025 21:34:08 +0530 Subject: [PATCH 1/2] Update README: add Python backend setup with proper code blocks --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index 595889480..e06c9d679 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,33 @@ PictoPy is an advanced desktop gallery application that combines the power of Ta 1. First, join the **[Discord Server](https://discord.gg/hjUhu33uAn) (Go to Projects->PictoPy)** to chat with everyone. 2. For detailed setup instructions, coding guidelines, and the contribution process, please check out our [CONTRIBUTING.md](./CONTRIBUTING.md) file. +## Backend Setup (Python) + + Follow these steps to get the Python backend running: + + > ⚠️ **Important:** Python **3.11.x** is required. > Python 3.13 is **not supported** due to dependency compatibility issues (e.g., NumPy). + + +### 1. Create and activate a virtual environment + + **Windows (Git Bash):** +```bash +python -m venv venv +source venv/Scripts/activate +``` +### 2. Install backend dependencies + +Make sure the virtual environment is activated, then run: + +```bash +pip install -r backend/requirements.txt +``` +### 3. Run the backend server + +```bash +python backend/main.py +``` + # Architecture ### Frontend From a00e3bd42bbd67aadabcf4a880f5a438e83ac37d Mon Sep 17 00:00:00 2001 From: Darshita02 Date: Wed, 31 Dec 2025 09:52:43 +0530 Subject: [PATCH 2/2] Fix markdown formatting in Python version note --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e06c9d679..9d233e28d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ PictoPy is an advanced desktop gallery application that combines the power of Ta Follow these steps to get the Python backend running: - > ⚠️ **Important:** Python **3.11.x** is required. > Python 3.13 is **not supported** due to dependency compatibility issues (e.g., NumPy). + > ⚠️ **Important:** Python **3.11.x** is required. + > Python 3.13 is **not supported** due to dependency compatibility issues (e.g., NumPy). ### 1. Create and activate a virtual environment