An example of using ColdBox Validation as a Subsystem in an FW/1 application.
- Lucee 5.x+
- ACF 2016+ (Not tested)
- FW/1 4.x+
- Make sure you have Commandbox installed.
- Clone the repo or drop the zipped contents into a directory.
- Fire up Commandbox by entering
box
in your terminal andcd
into the project root directory. - Run
install && start
. - Start hacking away!
From the project root, start CommandBox in your preferred terminal. Make sure you have included the test dependencies project dependencies by running install
. Start the server by executing server start
. The server instance will be located at http://127.0.0.1:8520
.
NOTE: Some features of the module are not implemented. Namely, cbi18n and mixins. That won't stop you from accessing the validation features from DI/1 anywhere in your app.
Once the server has started, you will have a simple FW/1 application to navigate through.
Once the server has started, you can run testbox run
in the terminal to execute the tests. To view the test results in the browser, you can navigate to http://127.0.0.1:8520/tests/runner.cfm
.