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

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.