Installation

Requirements

Quick Start

Clone the repository:

npx degit jyoungblood/darkwave my-project
cd my-project

Install dependencies:

npm install

Configuration

Set up your services before continuing:

  • Create a MySQL database (MySQL 8, utf8mb4 charset)
  • Set up an SMTP account for email

Configure environment variables:

mv .env.example .env

Generate a Better-Auth secret:

openssl rand -base64 32

Add the generated secret and your database/SMTP credentials to .env.

Initialize

Run the database initialization:

npm run init

Start the development server:

npm run dev

Maintenance

After installation, you may need to update dependencies:

npm audit --fix
npx @astrojs/upgrade

Follow any upgrade instructions that appear when running npm run dev or npm run build.