-
-
Save jeremythuff/e39b6626424442581fe63f98f04abe96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Faculty Leave Style 12 Factor Configuration | |
- We need a templated version of the appConfig.js which uses handlebar style references to environment variables ```{{ENV_VAR}}``` | |
- we need an angularjs entrypoint.sh based on the angular url(entrypoint.sh)[https://github.com/TAMULib/FacultyLeave/blob/main/client/docker-entrypoint.sh] in faculty leave | |
- It will reference environment variables to compile a templated version of the appConfig.js | |
- It will write the compiled config to a static asset location | |
- We will need to modify the index.html to reference the compiled appConfig.js before the bundle.js | |
- We may need to modify the current appConfig in the app and appConfigCore in weaver-ui-core to reference the configuration object on the js scope |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment