chore: clean up repo for public release
- Remove BMAD framework, IDE configs, dev screenshots, test files, internal docs, and backup files - Rename keep-notes/ to memento-note/ - Update all references from keep-notes to memento-note - Add Apache 2.0 license with Commons Clause (non-commercial restriction) - Add clean .gitignore and .env.docker.example
This commit is contained in:
22
memento-note/scripts/check-config.ts
Normal file
22
memento-note/scripts/check-config.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { PrismaClient } from '@prisma/client'
|
||||
|
||||
const prisma = new PrismaClient()
|
||||
|
||||
async function main() {
|
||||
const configs = await prisma.systemConfig.findMany()
|
||||
console.log('--- System Config ---')
|
||||
configs.forEach(c => {
|
||||
if (c.key.startsWith('AI_') || c.key.startsWith('OLLAMA_')) {
|
||||
console.log(`${c.key}: ${c.value}`)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
main()
|
||||
.catch(e => {
|
||||
console.error(e)
|
||||
process.exit(1)
|
||||
})
|
||||
.finally(async () => {
|
||||
await prisma.$disconnect()
|
||||
})
|
||||
Reference in New Issue
Block a user