Lucee website development on CommandBox

The CommandBox with Lucee is up and running. I also have the directory displayed. Can someone advise where to place my website templates and how to configure Lucee? Thanks!

The web server you start with CommandBox works just like any “normal” Lucee installation. The folder where you ran the command to start the server becomes the web root and you place your code in that folder just like you normally would.

If you have a more specific question, you’ll need to provide more specific details.

Have you been through our getting started guide?

https://ortus.gitbooks.io/commandbox-documentation/content/getting_started_guide.html

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Thanks Brad. What I have are files (CFM, HTM, JS, etc.) oh a flash drive. I am on a Macbook and need to find the folder from the Finder Window or Smart Folder. Can you advise where to find the location of http://127.0.0.1:56144/lucee? I am new to Commandbox; thanks for what you can advise.

The folder that is the web root of that server depends on where you ran the start command from in your shell. You’d need to provide more information about what you’ve done in order for anyone to help you. Once you start a CommandBox server, it behaves like any regular Lucee server.

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Thanks again for getting back in touch. I attached a PDF to show what I am trying to do.

  • Rob

Commandbox on my Mac.pdf (432 KB)

  1. The location of the box binary is not important. In fact, I would recommend you place it under /usr/bin/ so it’s available anywhere.
  2. Is the websites folder your web root? If not, don’t start the server there. CD to your web root first, then start the server.
  3. What do you mean by “didn’t show up”? What did you see? Was there an error? Something unexpected? I would expect the index.cfm file to be run and the results displayed.
  4. What is the meaning of number 4? Did something unexpected happen related to the Lucee web admin? How does this apply to what we’re discussing?

I have web templates on a flash drive that I would like to place under the websites folder.

Not surer what number this one is… I don’t understand this sentence. When you say you want to “place” them, do you mean you want to copy them? What’s the issue? Is there an error? Do you know how to copy them? What can we help you with? What did you try and what result did you receive that didn’t work?

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

The folder “websites” appears for Finder; however, it does not appear as a folder for Open Browser directory. There were no errors. Item 4 describes the IP for Lucee. Regarding the files on my flash drive, I want to copy them to the “websites” folder.

Hey Brad. Thank you so much for your help. I am now in business with Commandbox. I placed my website folder under documents, followed your instructions. It is now working very nicely! v/r Rob