* Allow specifying DB file explicitely. * Export config getter/setter instead of object Allows dynamically changing configuration * Remove maxWorker Jest limit, parallelize tests * Remove unnecessary slow step in Dockerfile. * Correct error response during login * Fix setting DB permissions in docker entrypoint --------- Co-authored-by: antanst <>
12 lines
380 B
JavaScript
12 lines
380 B
JavaScript
#!/usr/bin/env node
|
|
|
|
const path = require('path');
|
|
const { seedDatabase } = require('../seeders/dev-seeder');
|
|
const { setConfig, getConfig } = require('../config/config');
|
|
const config = getConfig();
|
|
|
|
console.log('🌱 Starting development data seeding...');
|
|
console.log(`📁 Database: ${config.dbFile}`);
|
|
console.log(`🌍 Environment: ${config.environment}`);
|
|
|
|
seedDatabase();
|