Files
dwroller/database/pm2.config.js
T
alexandClaude Sonnet 4.6 1e361301ad Fix rules search ranking and import clean skills/talents from Core Rulebook
- Add search relevance scoring: exact title > title prefix > title contains > Core Rulebook source > content match
- Add DB_PASSWORD env var to pm2.config.js so server can connect to MariaDB
- Add update-rules-from-sources.py: imports 45 skills from CSV and 44 talents from CR.txt, removes garbage advance-table entries
- Add fix-talent-titles.py: normalises OCR-garbled talent titles, removes 28 duplicates, fixes 65 entries
- Add cleanup-skill-dupes.py: removes duplicate skills from csv-import/fandom/sanitized sources, recategorises 55 lore entries

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-03-01 18:25:08 +01:00

16 lines
263 B
JavaScript

module.exports = {
apps: [
{
name: 'deathwatch-server',
script: './server.js',
cwd: __dirname,
watch: false,
env: {
NODE_ENV: 'production',
PORT: 5000,
DB_PASSWORD: 'DwRoller@2025!'
}
}
]
};