Jakob Ackermann 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting há 4 anos atrás
..
.dockerignore 8945373715 Merge pull request #5724 from overleaf/jpa-lean-docker-build há 4 anos atrás
.gitignore 43c381e4d5 Merge pull request #5552 from overleaf/bg-node-upgrade-other há 4 anos atrás
.nvmrc 2261e761f4 Merge pull request #5705 from overleaf/jpa-node-14 há 4 anos atrás
LICENSE 9c0dbbc5c8 Remove CoffeeScript há 5 anos atrás
README.md 955c9162c0 Rename to @overleaf/settings há 5 anos atrás
Settings.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting há 4 anos atrás
buildscript.txt 2261e761f4 Merge pull request #5705 from overleaf/jpa-node-14 há 4 anos atrás
index.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting há 4 anos atrás
merge.js 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting há 4 anos atrás
package-lock.json cd9877d7d7 [misc] prepare for monorepo há 5 anos atrás
package.json 4de9c98d2f Merge pull request #6132 from overleaf/jpa-settings-linting há 4 anos atrás

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.