I have tried several times over the years to use ColdBox, I am a 20 year veteran in ColdFusion. Coldbox looks very comprehensive but is also very complex. I just tried again to use your simple instructions but alas no joy commandbox returned "Command "box install coldbox" cannot be resolved." sigh!!! I guess I will try again in a few years. thx for all your hard work and contribution to the CF community!
If you’re using the interactive shell (meaning you double clicked box.exe, or ran just “box” from your OS shell) you don’t need to add “box” in front of everything.
So, from DOS/bash:
C:\ > box install coldbox
Using the Interactive shell (starting at DOS/bash:
C:\ > box
CommandBox > install coldbox
…etc…
CommandBox > exit
C:\ > _
What guide were you following? The ColdBox getting started guide shows you exactly what to type in:
http://coldbox.ortusbooks.com/content/getting_started_guide/index.html
Even the CommandBox getting started guide doesn’t show “box” in there.
https://ortus.gitbooks.io/commandbox-documentation/content/getting_started_guide.html
As a general rule, I always write my docs to assume you’re at the CommandBox interactive shell, and add a note somewhere that you only need to add the “box” binary name in front if you’re running the command from your native OS shell.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
Thank you Brad, you nailed it, now that was simple.
I was using the Install instructions on this page ColdBox MVC where it did specify to use the command "box install coldbox" and yes I was running it from commandBox.
Thank you
Good to hear Mike. I updated that page to be a bit clearer.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com