Eric Mc Sween 3235119302 Merge pull request #7228 from overleaf/em-node-16 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 4 años
.nvmrc 3235119302 Merge pull request #7228 from overleaf/em-node-16 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 7e41fbf81b Merge pull request #7102 from overleaf/msm-check-entry-point-dir-settings hace 4 años
buildscript.txt 3235119302 Merge pull request #7228 from overleaf/em-node-16 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.json ae0c347f27 Merge pull request #6542 from overleaf/jpa-em-code-sharing-workspaces 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.