Deploy Commandbox Lucee Dev to Production - tutorials/instructions

Hi, I have to rebuild the base OS of my AWS server on which Lucee is running. I am not clear on whether I can build my Lucee server as a local DEV using something like Command Box (OS X) then export/delploy this to the new production server. I mean I am sure it possible, just need a few pointers on what to search for.
Apologies for the newbie question.

Don’t forget to tell us about your stack!
OS : Linux (4.14.252-131.483.amzn1.x86_64)
Java Version : 64bit 1.8.0_92 (Oracle Corporation) 64bit
Tomcat Version : Apache Tomcat/8.0.35
Lucee Version : 6.0.0.585

My suggestion is keep it as simple as you need it for you.

If you are only supporting one app, then emulate your production box and learn command box at your leisure.

If you are in a hurry and or just want to emulate a production box as fast as possible

download and install xampp
download the lucee.war
go to /xampp/tomcat/webapps
delete everything “rm -rf”
place the lucee.war in /xampp/tomcat/webapps
rename the lucee.war to ROOT.war
start tomcat
It will unpack lucee in the /ROOT directory
–Note this is the “bad” way of installing a WAR –

1 Like

Thanks for the advice, would you say that CommandBox is ok for production?
The current production server is using the Apache web connector for which there are quite a lot of .htaccess rules and redirects so it probably makes sense to go that route.

Some do use it for production, I do not nor would I.

My typical setup is Apache + Tomcat + Lucee.