Skip to main content

Modify a configuration template

CodeNOW strives to speed up your development process by having scaffolders for a set of predefined technology stacks (e.g., Java/Maven). Each of those scaffolders comes with default configuration templates used when deploying for the first time to a target environment. You can modify these configuration templates. They often are a good place to put environment variables common to every environment.

Prerequisites

  • The repositories of the application components were generated by CodeNOW.

Modify default configuration templates

Configuration templates related to an application component are located in the codenow/config directory of the component's repository. Simply edit the relevant configuration template in that repository. For instance, to modify the default configuration template for a component created with the JavaScript/npm/React scaffolder, edit the runtime-configuration.js file in the /codenow/config folder: