Eric Mc Sween f3f0be5c56 Merge pull request #6211 from overleaf/em-code-sharing 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 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting hace 4 años
buildscript.txt f3f0be5c56 Merge pull request #6211 from overleaf/em-code-sharing hace 4 años
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting hace 4 años
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting hace 4 años
package-lock.json cd9877d7d7 [misc] prepare for monorepo hace 5 años
package.json 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting hace 4 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.