Adding datasources

We have the need to add some integration testing to our stack. We’re using the embedded Railo server (still on CommandBox 1) for our CFML tests. Is it possible to configure a datasource via the command line when starting the embedded server?

You can add one to Application.cfc

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

We don’t want this datasource information in our source control.

You can use the server params.

Here is some samples: GitHub - pixl8/Preside-CMS-CommandBox-Commands: CommandBox commands for PresideCMS

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox