Category Selected:



Screencast - Running CommandBox servers behind IIS with Boncode

Brad Wood |  January 30, 2018

We've made another screencast for you and this one shows how you can run CommandBox sites behind an IIS web server using the Boncode connector.  If you're interested in using CommandBox for easy management of your production websites, this allows static files like images, JavaScript, or PDFs to be served by the web server.  It can also be handy if your site requires some IIS-specific features but you still want the portability and ease of deployment that comes with CommandBox and CFConfig.  

Read More

Screencast - Starting CommandBox Servers as a Windows Service

Brad Wood |  January 29, 2018

A common question we get now is how to take a CommandBox server and wrap it in a Windows service so it starts automatically at boot time.  This is ideal for production use or just a dev site that you always want to stay running.  With this new screencast, you will learn how to take any CommandBox server and install it as a Windows service using a free tool called NSSM.

Read More

Upgrading ContentBox with CommandBox? Here's something you need to know before you do

Gavin Pickin |  January 22, 2018

CommandBox is a great product, and it is always improving. Recently, one of those improvements threw a MASSIVE wrench in my world, and it might affect you too. Long story short, ContentBox stores custom modules, themes, widgets inside of the ContentBox module, usually with some tricky gitignore magic, you can ignore the core, and just commit your custom code to your repo. Now, after an update to CommandBox, if you do a install contentbox --force to update ContentBox around your changes, you might be surprised when CommandBox deletes all of your ContentBox modules, all of your ContentBox themes, all of your ContentBox widgets. Why CommandBox hates us all of a sudden?

Read More

Screencast - CommandBox Package Link for Module Development

Brad Wood |  January 03, 2018

The package link and package unlink commands are fairly new to CommandBox and here's a brief screencast that shows you a real life use case for them.  The package link command will create a symlink from your current directory into your CommandBox's system modules folder and reload your shell. 

Read More

The 12 Tips of (CommandBox) Christmas 2017- Day 12 - CommandBox 4.0 Roadmap

Brad Wood |  December 25, 2017

Merry Christmas everyone!   This is our final installment for this year's 12 Tips of (CommandBox) Christmas! We're leaving this year with a bang as we look forward to what's coming in the future with the next major release of CommandBox CLI.

Read More

The 12 Tips of (CommandBox) Christmas 2017- Day 11 - Super Easy Module Scaffolding

Brad Wood |  December 25, 2017

We've talked about what packages are, how to create them and how to publish them on Forgebox.  Now that you have the basics down, we've got some special ninja kung foo magic that will let you crank out modules with almost no effort at all.  We obviously can't implement the module for you, but there is a lot of boilerplate around creating the Git repo, scaffolding out files, setting up tests, and publishing.  We can turn all that boilerplate into 2 commands. **

** Some one-time setup required

Read More

The 12 Modules of (ForgeBox) Christmas — Day 11 — CommandBox Migrations

Eric Peterson |  December 24, 2017

Let's tackle a powerful module today. It will take quite a bit of configuration, but hopefully you will see the usefulness of this module by the end of this post. Meet CommandBox Migrations, a tool for managing and running your database migrations with CommandBox.

Read More

The 12 Tips of (CommandBox) Christmas 2017- Day 10 - Private ForgeBox Packages

Brad Wood |  December 23, 2017

For today's 12 Tips of (CommandBox) Christmas blog, we're covering private ForgeBox packages.  This has been out for a while but we haven't talked a great deal about it.  The idea of private packages is that you want to have packages of code that you and your coworkers use to build your apps and you want to use ForgeBox to list them so you can have CommandBox manage their installation and updating versions.  However, these are internal packages that you don't to share with the rest of the world.  

Read More

The 12 Tips of (CommandBox) Christmas 2017- Day 9 - Debugging Server Starts

Brad Wood |  December 22, 2017

For today's 12 Tips of (CommandBox) Christmas we're going to review how to debug a server that don't want to start.  Figuring out why a server won't come up is usually very easy, but some people will waste a lot of time on it if they don't know how to access the logs.  Part of the issue is that the start command fires off an async process to actually start up the server, so you don't get much feedback right there in your console.

Read More

The 12 Modules of (ForgeBox) Christmas — Day 9 — verify-csrf-interceptor

Eric Peterson |  December 22, 2017

I love modules that help me do the right thing in my code, especially when I often forget to do something. Today's module is very straight-forward — verify-csrf-interceptor — an interceptor that will automatically check for CSRF tokens for all non-GET requests to help protect against cross-site request forgery.

Read More