Complete Setup Guide
- Windows
- MacOS
- Linux
Getting TextLayer Core
If you haven’t cloned the TextLayer Core repository from the Installation Guide, you can download it using the following command:Install Python & Activate your environment
1. Install Python 3.12
- Open Microsoft Store
- Search for “Python 3.12”
- Click Get to install it.
- After installing, verify it’s installed by running the following command in PowerShell:
Specific versioning is dependent on time of installation, please check the official Python website for more information.
Install uv
2. Install uv for Windows
- Open PowerShell as Administrator and run the following command:
UV Documentation: UV Installation for Windows
Activate your environment
3. Navigate to the backend directory
In PowerShell:3. Create Virtual Environment & Install Dependencies
Choose your preferred environment management approach:Option A: Using uv (Recommended)
Option B: Using Conda
Option C: Using venv
4. Run the Flask App
Make sure you’re in thebackend folder:Your app will now start with all the proper environment variables set automatically. The server will run on port 8000 in debug mode. If you would like to change the port, modify
.flaskenv file and change the value of FLASK_RUN_PORT to the desired port.