2017-02-09 00:57:45 +01:00
|
|
|
#Configuration Package
|
2016-11-08 12:34:17 +01:00
|
|
|
This is a central repository which aims to be a replacement
|
|
|
|
for all configuration packages.
|
|
|
|
|
|
|
|
Every configuration lies in a different branch.
|
|
|
|
|
|
|
|
Each branch corresponds to a server configuration, ex. tj-dev is for
|
|
|
|
TJ's dev machine.
|
|
|
|
|
|
|
|
gw-3d should be deployed on the gw-3d server
|
|
|
|
|
|
|
|
if we have a gw-3d-beta server, this branch would be called gw-3d-beta
|
|
|
|
|
|
|
|
and so on.
|
|
|
|
|
|
|
|
Secure (Sensitive configuration options) go into secure.js.
|
|
|
|
|
|
|
|
public configuration options go into config.js.
|
|
|
|
|
|
|
|
config.js is linked to from every other package via symbolic link.
|
|
|
|
|
|
|
|
When config.js is required server side, it is automatically merged
|
|
|
|
with secure.js in order to produce a global server side configuration,
|
2017-02-09 00:57:45 +01:00
|
|
|
whilst only exposing config.js public to client side.
|