FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...
This is sample application that shows you the power of the ColdBox ORM Module. You will need CommandBox installed in your machine in order to install and run dependencies.
Get CommandBox : https://www.ortussolutions.com/products/commandbox
This sample application was built using MySQL 5 and you can find the file
CarTracker.sql in the worbench folder of the application that you can use to pre-load your application.
This application is pre-configured to use CFConfig for loading the database into the engine and environment variables for connectivity. Copy the
.env.template and rename it to
.env. Open it and add your credentials for your MySQL database:
DB_HOST=localhost DB_USERNAME=root DB_PASSWORD=mysql
In order for these env files and the cfconfig files to work, you must have the commandbox modules installed, so type the following in your shell:
box install commandbox-cfconfig,commandbox-dotenv
Go in to the CommandBox shell by typing
box and enter. Then type
install to configure all the necessary dependencies for this application.
That's it, just run the application via CommandBox by typing
server start. This will open the browser to http://localhost:8090. The port 8090 is configured inside the
There is a bug in Lucee that on first server start you might get some ORM issues. Just do a
server restartand it should be kicking again.
box install cartracker-demo