mirror of
https://github.com/outline/outline.git
synced 2025-03-14 10:07:11 +00:00
* Separate environment configs * wip * wip * test * plugins * test * test * .sequelizerc, unfortunately can't go through /utils/environment due to not supporting TS * docker-compose -> docker compose * fix: .local wipes .development * Add custom validation message for invalid SECRET_KEY (often confused)
12 lines
316 B
Plaintext
12 lines
316 B
Plaintext
require("dotenv").config({
|
|
path: process.env.NODE_ENV === "test" ? ".env.test" : ".env",
|
|
});
|
|
|
|
var path = require('path');
|
|
|
|
module.exports = {
|
|
'config': path.resolve('server/config', 'database.json'),
|
|
'migrations-path': path.resolve('server', 'migrations'),
|
|
'models-path': path.resolve('server', 'models'),
|
|
}
|