ECTLogger

Tutorial

Quick start

🚀 Get Started in 5 Minutes

System Requirements

Resource Minimum Recommended
RAM 2 GB 4 GB+
Storage 2 GB 10 GB+
Python 3.11+ 3.11+
Node.js 18+ 22 LTS

⚠️ Servers with <2GB RAM will struggle to run ECTLogger reliably. See PRODUCTION-DEPLOYMENT.md for low-memory workarounds.

One command to download, then run the installer:

curl -fsSL https://raw.githubusercontent.com/bradbrownjr/ectlogger/main/bootstrap.sh | bash

This downloads the installer and shows you the command to run it. Just copy and run the command shown - the interactive installer will:

Works on Debian, Ubuntu, Fedora, RHEL, Rocky, and macOS.

After it completes, just run ./start.sh to launch!


📋 Manual Installation

If you prefer to install manually or the speedrun doesn’t work for your system:

Prerequisites

Step 1: Download & Setup

Linux/macOS

# Clone the repository
git clone https://github.com/bradbrownjr/ectlogger.git
cd ectlogger

# Make scripts executable
chmod +x *.sh

# Run the installation script
./install.sh

Windows (PowerShell)

# Clone the repository
git clone https://github.com/bradbrownjr/ectlogger.git
cd ectlogger

# Run the startup script (it will install everything automatically)
.\start.ps1

The scripts will:

Step 2: Configure Email

Before first use, configure email settings using the interactive wizard:

Linux/macOS

./configure.sh

Windows (PowerShell)

.\configure.ps1

The configuration wizard will:

Or manually:

  1. Copy .env.example to backend/.env
  2. Edit backend/.env and set your email credentials

For Gmail:

Step 3: Access the Application

Open your browser to:

Step 4: First Login

  1. Enter your email address
  2. Click “Send Magic Link”
  3. Check your email
  4. Click the link to sign in
  5. You’re in! 🎉

Start the Application

Linux/macOS

./start.sh

Windows (PowerShell)

.\start.ps1

Manual Start (Alternative)

If you prefer to start servers manually:

Linux/macOS Backend

cd backend
source venv/bin/activate
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

Windows Backend

cd backend
.\venv\Scripts\Activate.ps1
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000

Frontend (all platforms)

cd frontend
npm run dev

Common Issues

Port Already in Use

Email Not Sending

Dependencies Installation Failed

⚠️ First Login - Administrator Setup

Important: The first user to sign in is automatically granted Administrator privileges. Before making your server publicly accessible, you should:

  1. Complete first-time setup and configure email
  2. Access the application and sign in with your email
  3. Set up two-factor authentication when prompted — admin accounts require it, so the first sign-in is asked to enroll before the Admin panel becomes usable. See PASSWORD-MFA.md
  4. Verify you have admin access (you’ll see the Admin panel in the navigation)
  5. Only then expose the server to the network/internet

This ensures the server owner becomes the administrator before anyone else can access the system.

What’s Next?

See the full documentation:

Getting Help