Eric Mc Sween b92d1a0251 Merge pull request #16524 from overleaf/em-fix-typescript-backend il y a 2 ans
..
test d227dfba0c Merge pull request #16393 from overleaf/em-typescript-libraries il y a 2 ans
.dockerignore 8945373715 Merge pull request #5724 from overleaf/jpa-lean-docker-build il y a 4 ans
.gitignore a797fb2be7 Merge pull request #14138 from overleaf/bg-em-jpa-mj-node-18 il y a 3 ans
.nvmrc f061a4add4 Merge pull request #15506 from overleaf/jpa-node-18-18-2 il y a 2 ans
LICENSE 9c0dbbc5c8 Remove CoffeeScript il y a 5 ans
README.md 955c9162c0 Rename to @overleaf/settings il y a 5 ans
Settings.js 0a12c47b35 Merge pull request #10815 from overleaf/em-esm-chat il y a 3 ans
buildscript.txt 4763cfd59e Merge pull request #16058 from overleaf/jpa-faster-restart il y a 2 ans
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting il y a 4 ans
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting il y a 4 ans
package.json b92d1a0251 Merge pull request #16524 from overleaf/em-fix-typescript-backend il y a 2 ans
tsconfig.json b92d1a0251 Merge pull request #16524 from overleaf/em-fix-typescript-backend il y a 2 ans

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.