Peter Amiri
02/17/2022, 8:56 PMwheels g app template=cfwheels-template-example-app --setupH2 name=exampleApp datasourceName=exampleApp directory=exampleapp
Then start the server:
start
Once the server starts up, you'll have to install the H2 extension:
install
Then after a minute, you can run the migrations:
wheels dbmigrate latest
I've also put in an installation check page so the users don't get CF Engine errors during the process.neokoenig
02/17/2022, 9:04 PM...
Warning: package has an invalid box.json file. [D:\cfwheels-test\exampleapp\]
Warning: package has an invalid box.json file. [D:\cfwheels-test\exampleapp\]
neokoenig
02/17/2022, 9:18 PMneokoenig
02/17/2022, 9:26 PMThe system cannot find the path specified
Stacktrace The Error Occurred in
/wheels../views/install/index.cfm: line 140
called from D:\cfwheels-test\exampleapp\wheels\global\cfml.cfm: line 118
called from D:\cfwheels-test\exampleapp\wheels\controller\rendering.cfm: line 649
called from D:\cfwheels-test\exampleapp\wheels\controller\rendering.cfm: line 385
called from D:\cfwheels-test\exampleapp\wheels\controller\rendering.cfm: line 69
called from D:\cfwheels-test\exampleapp\wheels\controller\processing.cfm: line 134
called from D:\cfwheels-test\exampleapp\wheels\controller\processing.cfm: line 92
called from D:\cfwheels-test\exampleapp\wheels\dispatch\functions.cfm: line 199
called from D:\cfwheels-test\exampleapp\wheels\index.cfm: line 6
called from D:\cfwheels-test\exampleapp\rewrite.cfm: line 2
called from D:\cfwheels-test\exampleapp\wheels\events\onrequest.cfm: line 4
neokoenig
02/17/2022, 9:26 PMneokoenig
02/17/2022, 9:27 PMneokoenig
02/17/2022, 9:28 PM