wtsi-hgi/settings-sharelatex

Name: settings-sharelatex

Owner: Wellcome Trust Sanger Institute - Human Genetics Informatics

Description: A small module to allow global config settings to be set for all services within the ShareLaTeX architecture.

Created: 2014-09-30 20:34:38.0

Updated: 2014-09-08 08:17:55.0

Pushed: 2014-09-08 08:17:55.0

Homepage:

Size: 200

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

settings-sharelatex

A small module to allow global config settings to be set for all services within the ShareLaTeX 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.coffee

Otherwise, the settings will be loaded from config/settings.NODE_ENV.coffee, where NODE_ENV is another evnironment variable, or defaults to development.

The config directory is first looked for in the current directory, and then relative to the settings module directory.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.