No description
Find a file
2025-07-17 03:04:19 +02:00
anciennes_editions/2024 Update de la DB pour les tests de l'edition 2025 2025-07-03 19:12:10 +02:00
nix feat(packaging): Add host machine config 2025-07-17 03:04:19 +02:00
public added three new backgrounds 2025-07-16 14:35:51 +02:00
src Update de la DB pour les tests de l'edition 2025 2025-07-03 19:12:10 +02:00
views changed fonts to fit to template 2025-07-01 21:10:51 -04:00
.editorconfig Initial implementation of a session/login system 2024-06-30 14:18:12 +02:00
.gitignore feat(packaging): Add host machine config 2025-07-17 03:04:19 +02:00
kahulm.sqlite Update de la DB pour les tests de l'edition 2025 2025-07-03 19:12:10 +02:00
mythologie.txt changed fonts to fit to template 2025-07-01 21:10:51 -04:00
package-lock.json Update de la DB pour les tests de l'edition 2025 2025-07-03 19:12:10 +02:00
package.json Able to init from csv 2024-08-16 14:02:15 +02:00
README.md Doc 2024-08-16 15:01:03 +02:00
tsconfig.json Initial commit for Node + Express.js + Typescript 2024-06-26 09:21:21 +02:00
yarn.lock Update de la DB pour les tests de l'edition 2025 2025-07-03 19:12:10 +02:00

Kahulm

Run the server

For production:

export NODE_ENV=production
npm install
npm run

For dev:

npm install
npm run dev

.env format

# port of the server
PORT=2000 
# password for sessions
SESSION_SECRET=my secret 
# base url of the website
BASE_URL=http://localhost:2000 
# the SQLite db filename
DB_FILE=kahulm.sqlite 

# If you want to create a initial admin account
# Can be omitted.
# Only works at database init, 
# if there is already a SQLite db file, it is ignored.
ADMIN_USERNAME=admin
ADMIN_PASSWORD=test

# Config for how to hash passwords.
PASSWORD_SALT_LENGTH=128
PASSWORD_HASH_LENGTH=64