Installation
Requirements
- Node.js (check Astro’s requirements)
- MySQL 8.0 (locally via DBngin, Herd, MAMP, or similar)
Quick Start
Clone the repository:
npx degit jyoungblood/darkwave my-projectcd my-projectInstall dependencies:
npm installConfiguration
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 .envGenerate a Better-Auth secret:
openssl rand -base64 32Add the generated secret and your database/SMTP credentials to .env.
Initialize
Run the database initialization:
npm run initStart the development server:
npm run devMaintenance
After installation, you may need to update dependencies:
npm audit --fixnpx @astrojs/upgradeFollow any upgrade instructions that appear when running npm run dev or npm run build.