-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
JͮⳎ edited this page Dec 30, 2025
·
1 revision
This guide will help you set up the TopicsFlow application on your local machine for development.
Before you begin, ensure you have the following installed:
- Docker & Docker Compose: Recommended for running services (MongoDB, Redis).
- Python 3.9+: For the backend application.
- Node.js 18+ & npm: For the frontend application.
- Git: For version control.
git clone <repository-url>
cd TopicsFlow_AppThe project uses .env files for configuration. A setup script is provided to generate these automatically.
Windows:
.\env-setup.batLinux/Mac:
chmod +x env-setup.sh
./env-setup.shThis script will create:
backend/.envfrontend/.env.local-
.env(root for Docker)
Note: Review the generated
.envfiles and update any specific secrets or API keys (e.g., Azure keys, if needed).
- Navigate to the backend directory:
cd backend - Create and activate a virtual environment:
python -m venv venv # Windows .\venv\Scripts\activate # Linux/Mac source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Start the server:
The backend will run on
python app.py
http://localhost:5000.
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Start the development server:
The frontend will run on
npm run dev
http://localhost:3000.
You need MongoDB and Redis running. The easiest way is via Docker Compose:
docker-compose -f docker-compose.local.yml up -d mongo redisTo run the entire stack (Frontend + Backend + DBs) using Docker:
docker-compose -f docker-compose.local.yml up --buildAccess the application at http://localhost:3000.
Run the verification script to ensure everything is set up correctly:
Windows:
.\VERIFY_SETUP.batThis script checks for:
- Python & Node.js installation
- Configuration files
- Directory structure