Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cgwire/zou/llms.txt
Use this file to discover all available pages before exploring further.
Installing Zou
This guide walks you through setting up a Zou instance from scratch. You’ll install the required dependencies, configure the database, and prepare the API for first use.Prerequisites
Python 3.10 or higher
Zou supports Python 3.10 through 3.14. Verify your Python version:If you need to install Python, visit python.org.
PostgreSQL 12 or higher
Zou requires PostgreSQL as its primary database. Install PostgreSQL for your platform:Verify PostgreSQL is running:
Database Setup
Create PostgreSQL Database
Connect to PostgreSQL and create the Zou database:Then create the database:
Choose a strong password for production deployments and store it securely.
Install Zou
Install via pip
Install Zou from PyPI:This will install Zou and all its dependencies listed in
setup.cfg:- Flask and extensions (Flask-JWT-Extended, Flask-SQLAlchemy, etc.)
- Database drivers (psycopg 3.x)
- Background job processing (RQ, Redis)
- Media processing (ffmpeg-python, Pillow, OpenCV)
- And many more production-ready libraries
Zou has over 50 dependencies. Installation may take a few minutes.
Environment Configuration
Zou is configured entirely through environment variables. Here are the essential settings:Required Settings
Optional Settings
For a complete list of configuration options, see the
zou/app/config.py file in the source code.Initialize the Database
Run Database Migrations
Initialize the database schema:Output:This command runs all Flask-Migrate migrations to create the required tables.
Initialize Default Data
Populate the database with essential data (task statuses, file statuses, etc.):This creates:
- Default task statuses (Todo, Work In Progress, Done, etc.)
- Default file statuses
- Default project settings
- System metadata descriptors
Additional Dependencies
FFmpeg (Required for Preview Processing)
Zou uses FFmpeg to process video previews and generate thumbnails.Meilisearch (Optional - Search Indexing)
For full-text search capabilities, install Meilisearch:Upgrading Zou
To upgrade an existing Zou installation:Common Configuration Examples
Using a .env File
Create a.env file for your configuration: