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

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.