@StuartGuthrie wrote:
I’ve search, can’t find a reference to this and I guess it’s as emberjs is normally not deployed to a bunch of saas and on-prem sites with different configs for each.
I would like to know if there is a way to have a server-side configuration file that can be read and used as part of the environment or as variables in a service.
12-factor states that the ‘binary’ build is completely seperated from the configuration, this is what I’m trying to achieve.
The closest I’ve found is this: https://adrianperez.org/12-factoring-single-page-applications/ which recommends a pre-compiler just prior to installation.
Any alternatives you might be able to suggest are greatly appreciated.
Posts: 3
Participants: 3