Getting Started Guide · v1.0
LegalDocs Pro is a professional legal document management platform built with Django 5.2+, Tailwind CSS, and Alpine.js. This guide covers installation, configuration, and deployment.
unzip LegalDocs_Pro_v1.0.zip
cd legaldocs_pro
cp .env.example .env
Edit .env with your settings (database password, secret key, Stripe keys, etc.)
docker compose up -d
This starts all services: Django, PostgreSQL, Redis, Celery, Celery Beat, and Nginx.
docker compose exec web python manage.py migrate
docker compose exec web python manage.py createsuperuser
http://localhosthttp://localhost/admin/For local development with hot-reload:
docker compose -f docker-compose.dev.yml up -d
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
pip install -r requirements/base.txt
cp .env.example .env
Key settings to configure:
- SECRET_KEY — Generate a unique secret key
- DATABASE_URL — PostgreSQL connection string
- REDIS_URL — Redis connection for Celery
- STRIPE_* — Stripe API keys for billing
- DOCUSIGN_* — DocuSign integration keys (optional)
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
The included .github/workflows/ci-cd.yml provides a 3-stage pipeline:
Add these secrets in your GitHub repository settings:
| Secret | Description |
|---|---|
SERVER_HOST |
Your server IP or hostname |
SERVER_USER |
SSH username (e.g., root) |
SSH_PRIVATE_KEY |
SSH private key for deployment |
APP_DIR |
Path to the app on the server |
The pipeline triggers automatically on pushes to main and on pull requests.
The project contains 15 Django apps:
| App | Description |
|---|---|
accounts |
User authentication, registration, profiles |
tenants |
Multi-tenant organization management |
templates_engine |
Document template creation and management |
documents |
Document generation, editing, versioning |
signatures |
DocuSign and HelloSign e-signature integration |
matters |
Legal matter/case management |
billing |
Stripe subscription billing and plans |
analytics |
Dashboard and usage analytics |
pages |
Static pages (terms, privacy policy) |
portal |
Client portal for external document access |
search |
Full-text search across documents |
auditlog |
Activity and audit logging |
help |
Help center and documentation |
notifications |
In-app and email notifications |
landing |
Public-facing landing pages |
config/settings/base.py — Shared settingsconfig/settings/development.py — Development overridesconfig/settings/production.py — Production settingsconfig/settings/staging.py — Staging settingsLegalDocs Pro supports 4 languages out of the box:
- English (default)
- Dutch (Nederlands)
- German (Deutsch)
- French (Français)
Configure branding via environment variables:
- SITE_NAME — Application name
- SITE_TAGLINE — Homepage tagline
- SITE_DESCRIPTION — Meta description
- SUPPORT_EMAIL — Support email address
Three built-in plans:
- Starter — 50 documents, 5 users, 500MB storage
- Professional — 500 documents, 25 users, 5GB storage
- Enterprise — Unlimited everything
docker-compose.yml
├─ web Django + Gunicorn (port 8000)
├─ db PostgreSQL 15
├─ redis Redis 7
├─ celery Celery worker
├─ celery-beat Celery Beat scheduler
└─ nginx Nginx reverse proxy (ports 80/443)
REST API (v1) with token authentication:
/api/v1/documents/ — Document CRUD/api/v1/templates/ — Template management/api/v1/matters/ — Matter management/api/v1/signatures/ — Signature requests/api/v1/billing/ — Billing and subscriptions/api/v1/accounts/ — User management/api/v1/search/ — Search APIDEBUG=FalseSECRET_KEYgunicorn config.wsgi:application --bind 0.0.0.0:8000 --workers 4
celery -A config worker -l info
celery -A config beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler
LegalDocs Pro is distributed under the MIT License. See LICENSE.md for details.
For questions and support, visit the DjangoZen Support page.
Product: LegalDocs Pro
Type: SaaS Application
Version: 1.0
Updated: Feb 25, 2026