Jakob Ackermann 2261e761f4 Merge pull request #5705 from overleaf/jpa-node-14 hace 4 años
..
.dockerignore 8945373715 Merge pull request #5724 from overleaf/jpa-lean-docker-build hace 4 años
.gitignore 43c381e4d5 Merge pull request #5552 from overleaf/bg-node-upgrade-other hace 5 años
.nvmrc 2261e761f4 Merge pull request #5705 from overleaf/jpa-node-14 hace 4 años
LICENSE 9c0dbbc5c8 Remove CoffeeScript hace 5 años
README.md 955c9162c0 Rename to @overleaf/settings hace 5 años
Settings.js acc65b2518 [misc] fix path to app config/ dir following the renaming of the package hace 5 años
buildscript.txt 2261e761f4 Merge pull request #5705 from overleaf/jpa-node-14 hace 4 años
index.js 9c0dbbc5c8 Remove CoffeeScript hace 5 años
merge.js 03f6e8af64 [misc] expose merge function in a separate module hace 5 años
package-lock.json cd9877d7d7 [misc] prepare for monorepo hace 5 años
package.json 4b996c53d3 Merge pull request #5574 from overleaf/jpa-bulk-lint-format hace 5 años

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.