What’s the quickest way to install cold box or coldbox onto a Lucee server and then try out its sample applications ( samples downloaded from GitHub - coldbox-samples/coldbox-samples: DEPRECATED )?
How does command box come into play here?
Thanks.
What’s the quickest way to install cold box or coldbox onto a Lucee server and then try out its sample applications ( samples downloaded from GitHub - coldbox-samples/coldbox-samples: DEPRECATED )?
How does command box come into play here?
Thanks.
coldbox create app
server start
Great, up and running and sample app is working as well. Thank you @bdw429s
edited: and i’ve looked at config files such as Application.cfc and index.cfm etc.
it seems indeed coldbox is easy to get started, it took literally about 10 minutes for an experienced cf developer to downloaded it, tried it, ran into an issue, sought help, got it working and start to get a hang of it, all of them in about 15 minutes, awesome!
If you don’t know commandbox, you should dig a little deeper into it. It has wonderfull sweet tools you’ll fall in love with and will make your dev life much easier. Commandbox is today something I don’t want to miss in my dev setup anymore.
@bdw429s how do we create datasource for the sample applications? For instance, under applications/TaskManager the Application.cfc has ’ this.datasource = “taskmanager”; ’
Also, any DDL sql script that would create this database schema?
Is Luis Majano, the author of coldbox sample applications on dev.lucee.org (here) as well?
Thanks.
If you google for “set coldbox datasource” you’ll find the docs Datasource - ColdBox HMVC Documentation
If you’re running it with Lucee, it’s just like with every cfml app else within the Lucee Administrator in datasource section. For the other questions, please see and go through their docs. It’s documentation is awesome https://coldbox.ortusbooks.com/
Once an app is created and tested on a Lucee ColdBox setup, can the resulting code files be transferred to a Lucee-only? In other words, from a development system, then to a non-changing deployment system. Or does ColdBox help run the app?
Yes, you can run your app on any server you choose. Keep in mind there are some features such as URL rewrites which CommandBox makes dead easy to configure, which may take some additional effort to get working on Apache or IIS, but there is absolutely nothing specific to CommandBox CLI in the ColdBox MVC framework.
Thanks. Both are Tomcat servers. Basic Lucee installations and usually not overly complicated CFML.