DripEmail.org

Documentation

Complete guide to using DripEmails.org

Installation Guide

Step-by-step guide to install DripEmails.org on your system.

1. Clone the Repository

git clone https://github.com/dripemails/web.git
cd web

2. Set Up Python Environment

Linux/macOS

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Windows

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt

3. Configure Environment

Create a .env file with your configuration:

cp docs/env.example .env

Edit .env with your settings (see Configuration Guide)

4. Run Migrations

python manage.py migrate

5. Create Superuser

python manage.py createsuperuser

Follow the prompts to create your admin account.

6. Collect Static Files (Production Only)

python manage.py collectstatic

7. Start the Development Server

python manage.py runserver

✅ Success!

Visit http://127.0.0.1:8000 to see your DripEmails installation.

8. Set Up AI Features (Optional)

To enable AI-powered email generation:

Get Hugging Face API Key

Sign up at https://huggingface.co/settings/tokens

Windows PowerShell

$env:HUGGINGFACE_API_KEY = "hf_your_token_here"

Linux/macOS

export HUGGINGFACE_API_KEY="hf_your_token_here"

Or add to .env file

HUGGINGFACE_API_KEY=hf_your_token_here

9. Start SMTP Server (Optional)

For local email testing:

# Basic local development (default port 1025)
python manage.py run_smtp_server

# Custom port
python manage.py run_smtp_server --port 2525

# With debug mode
python manage.py run_smtp_server --debug

💡 Windows Development

On Windows with DEBUG=True:

  • Redis is NOT required
  • Celery automatically disables
  • SMTP authentication disabled by default
  • Emails send immediately (synchronously)

Verification Steps

✅ Check Installation

  1. Visit http://127.0.0.1:8000
  2. Log in with your superuser credentials
  3. Navigate to the dashboard
  4. Try creating a test campaign

✅ Test Email Sending

python manage.py shell

>>> from django.core.mail import send_mail
>>> send_mail('Test', 'Test message', 'from@example.com', ['to@example.com'])

Common Installation Issues

⚠️ ModuleNotFoundError

Make sure your virtual environment is activated:

# Linux/macOS
source venv/bin/activate

# Windows
venv\Scripts\activate

⚠️ Database Connection Error

Check your database settings in .env file

⚠️ Permission Denied (Port 25)

Use port 1025 for development instead of port 25 (requires root)