Ok. Since we had a hard time getting some sample app that has real world value for coldbox, let’s try something that may have similar value, this one, https://github.com/coldbox-samples/ColdBox-CriteriaBuilder-Subqueries-Examples
- Downloaded, mysql sql converted into mssql and the db is created on local ms sql server with user name.
2a) commandbox is started with “box” command issued,
2b) new directory named “myApp” and go to that dir with “mkdir myApp --cd” commands
2c) coldbox is installed for it with “install coldbox” command
2d) a new app is created with “coldbox create app cb1” command
optional: dir command to see what have been created…
optional: pwd command to see where we are, mine = C:\Users\myname\Downloads\commandbox-win-5.1.1\myapp\
2e) HERE, my idea is to retrofit the downloaded “car” sample app code here, thus, I copied over all its folders here at C:\Users\myname\Downloads\commandbox-win-5.1.1\myapp
and redefined its datasource(s) at ./config/coldbox.cfc
Problems: it inevitably replaces default folders created by coldfox thus creating mismatches…
Question, what would be an efficient way to try out this sample app with coldbox?