Manual Install
Prerequisites
Python 3.12+
PostgreSQL 15+ with pgvector extension
Redis 7+
Database Setup
1
Create a new database and enable pgvector
2
Set up your environment variables
Variable
Description
Required
DB_PASSWORD
PostgreSQL password
Yes
AUTH_SECRET_KEY
Secret key for JWT tokens
Yes
OPENAI_API_KEY
OpenAI API key for semantic search
Yes
ADMIN_USERNAME
Admin username
Yes
ADMIN_EMAIL
Admin email
Yes
ADMIN_PASSWORD
Admin password
Yes
3
Set up your environment variables
Install & Run
1
Install dependencies and run database migrations
2
Create an admin user
3
Start the application
The application will be available at http://localhost:8000.
Last updated