🚀 How to Run Docura

Follow these steps to set up and run Docura locally or with Docker for fast, private, and real-time document search.

Example 🚀 How to Run Docura
A demo of the 🚀 How to Run Docura component in action.

Quickstart guide to get Docura running in minutes.

How to add

# Step 1: Environment Setup

git clone https://github.com/msnabiel/Docura.git
cd Docura

python -m venv venv
source venv/bin/activate  # Linux/Mac
# or
venv\Scripts\activate   # Windows

pip install -r requirements.txt

How to use

# Step 2: Configure Environment

cp .env.example .env.local
# Edit .env.local and add your GEMINI_API_KEY_PAID

⚙️ Local Setup

Clone the repo, create a virtual environment, install dependencies, and configure your API key.

# Step 3: Start the Application

python main.py
# or
uvicorn app:app --reload --port 8000

🐳 Docker

Build and run the Docker image locally, or pull the official image from Docker Hub for quick deployment.

# Step 4: Docker Build & Run

docker build -t docura .
docker run -d -p 8000:8000 docura

docker pull msnabiel/docura
docker run -d -p 8000:8000 msnabiel/docura

📡 Access

Once running, open http://localhost:8000 to explore the API and docs.