From 4200e4198759cfa0179e5a0274620cad9221cfdd Mon Sep 17 00:00:00 2001 From: Kakious Date: Sat, 27 Jul 2024 01:34:23 -0400 Subject: [PATCH] chore: update readme and config --- README.md | 3 +++ src/config/config.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2e4347..371bc6c 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ The default user that is created is: Username: admin Password: changeme +Default email templates are stored in /mail folder. These are loaded into the DB on first load of the service and can be modified in the DB after that. + ## Installation Use pnmp to install the required packages. @@ -58,6 +60,7 @@ Configuration can be done by using a `.env` file or environment variables. Application Configuration - `BASE_URL` - Base URL for the application +- `APP_NAME` - Name of the application (default: `Waterwolf Identity`) Database Configuration - `DATABASE_HOST` - Hostname for the database diff --git a/src/config/config.ts b/src/config/config.ts index 2114cdc..438c29d 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -2,7 +2,7 @@ export default async () => ({ base: { localUrl: `${process.env.BASE_URL}`, fromEmail: `${process.env.FROM_EMAIL}`, - appName: `${process.env.APP_NAME ?? 'Waterwolf Auth'}`, + appName: `${process.env.APP_NAME ?? 'Waterwolf Identity'}`, }, redis: { host: process.env['REDIS_HOST'] ?? 'localhost',