AegisPaste

Self-hosted paste service setup (local dev first, then Nginx).

Prerequisites

1

Create .env

In the project folder, create a new file called .env and add:

.env
MONGODB_URI="mongodb://localhost:27017/Aegispaste"

NEXTAUTH_SECRET="change-me"
NEXTAUTH_URL="http://localhost:3000"
SYSTEM_SETUP_KEY="change-me"

SECURE="false"
PORT="3000"

Important: Make sure to use your own MongoDB connection string.

2

Install

Run:

Install dependencies
npm install
3

Run

Start the development server:

Run dev server
npm run dev

Admin panel

  • Open: http://localhost:3000/admin

  • Login credentials:

    • User: admin

    • Pass: admin

Next: Nginx Setup

Last updated