Jakob Ackermann 6a0388ff9b Merge pull request #4689 from overleaf/jpa-libraries-ci 5 ani în urmă
..
.gitignore 94117ea836 Merge pull request #4644 from overleaf/em-gitignore 5 ani în urmă
LICENSE 9c0dbbc5c8 Remove CoffeeScript 5 ani în urmă
README.md 955c9162c0 Rename to @overleaf/settings 5 ani în urmă
Settings.js acc65b2518 [misc] fix path to app config/ dir following the renaming of the package 5 ani în urmă
buildscript.txt 6a0388ff9b Merge pull request #4689 from overleaf/jpa-libraries-ci 5 ani în urmă
index.js 9c0dbbc5c8 Remove CoffeeScript 5 ani în urmă
merge.js 03f6e8af64 [misc] expose merge function in a separate module 5 ani în urmă
package-lock.json cd9877d7d7 [misc] prepare for monorepo 5 ani în urmă
package.json 6a0388ff9b Merge pull request #4689 from overleaf/jpa-libraries-ci 5 ani în urmă

README.md

@overleaf/settings

A small module to allow global config settings to be set for all services within the Overleaf architecture.

Settings file location

You can specify a custom location for the settings file by setting the SHARELATEX_CONFIG environment variable. E.g.

$ export SHARELATEX_CONFIG=/home/james/config/settings.development.js

Otherwise, the settings will be loaded from config/settings.NODE_ENV.js, where NODE_ENV is another environment variable, or defaults to development.

The config directory is first looked for in the current directory, and then relative to the settings module directory.