Installing Modules

Opening the companion app and clicking the

Coldbox is powerful out of the box but it is also almost infinitely extensible through modules and your own code base. To make the site ready for XHR calls, we're going to install the CORS module which will handle CORS requests.

  1. Open CommandBox and navigate to the root of your site.

  2. Type install CORS .

  3. Instead of restarting the server, open your browser to https://justenough.local?fwreinit=1 and add the query string

  4. The fwreinit=1 is a setting that ColdBox recognizes to reload the framework. Some code recompiles at run time like every other CF app. Other code, such as modules, is loaded into RAM when the application starts up and therefore changes are only picked up when the app is reinitialized.

Last updated