Category Selected:

tutorials

Blog

Screencast Intro to FusionReactor Cloud & Docker Swarm Demo

Brad Wood |  October 27, 2017

We've made a new screencast that shows an introduction to FusionReactor Cloud, a new way to monitor any number of servers in a consolidated interface that can scale up and down with your infrastructure.  Not only do new servers automatically register and deregister themselves with the Cloud dashboard, but it supports a pay-for-what-you-use model that prevents you from locking into a specific number of licenses.  

Read More

CONTAINERS2017 - Your first Docker Compose

Gavin Pickin |  September 05, 2017

The roadshow has just started, and you might have learned what Docker is, why you could / should use it, and then maybe a little of how to use it. You can spin up a Docker container pretty easily, with a command or two, but usually, we work with multiple servers. Configuring that might be confusing at first... you might wonder, if i spin up 3 containers, how do they know how to find each other, and other questions like this, are easily solved, with Compose files. That is what we're going to look at today.

Read More

Easy Bake: Multi-Tier Deployments using CommandBox Docker Images

Jon Clausen |  July 24, 2017

We've been using our CommandBox Docker images for awhile now for multi-tier development and deployment. We've also received a lot of great feedback from the community that has helped to expand the power and flexibility of the those images in orchestrating CFML server environments.

One important aspect of non-development deployments of applications on the CommandBox image, is the need to warm up the server by seeding the CFML engine file system and configuration before the application is deployed in its target environment/tier. Other than the default Lucee 4.5 engine, which is what CommandBox, itself, runs on, any CFML engine specified in your application's server.json file is downloaded upon server start. Depending on the latency of your Docker environment's connection, this can mean that a bare-bones first run of your application can take minutes to start up, rather than seconds. For obvious reasons, this is not desirable.

Read More

Portainer Docker Support for CommandBox and ContentBox

Luis Majano |  May 23, 2017

We are very excited that the [Portainer.io](http://portainer.io/) crew has added support for CommandBox and CommandBox docker image deployment!

Don't know what a container is? Continue down and we will show you what it's all about!

Read More

Using "testbox watch" to Automate Your Testing Suite

Brad Wood |  May 19, 2017

Using "testbox watch" to Automate Your Testing Suite

There is a new command in town in the CommandBox 3.7 snapshot build.  If you want to get the current snapshot build of CommandBox 3.7 to try this out, and play with it, simply run the following command and it will direct you to the latest bleeding edge download page:

CommandBox> upgrade --latest
Read More

ColdBox Framework Reinit Strategies

Brad Wood |  May 11, 2017

ColdBox Framework Reinit Strategies!

Everybody updates their code.  Some more than others, and many during business hours.  This leads to the inevitable conundrum of needing to reinit your ColdBox application to pick up said changes. If ColdBox is reinitted while a server is under load, some users may get errors, so it's a very common to get questions about how to handle that. 

Read More

CommandBox FusionReactor Module v1.6.0 released

Brad Wood |  April 18, 2017

We've had our CommandBox FusionReactor Module out for about 6 months now which lets you easily enable FusionReactor on your CommandBox servers.  It works for Lucee and Adobe servers alike and requires no manual installation. All you need to do is install the module and add in your license key with these two commands:

CommandBox> install commandbox-fusionreactor
CommandBox> fusionreactor register "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Read More

Where are my Lucee and Adobe ColdFusion log files on CommandBox servers?

Brad Wood |  April 10, 2017

As more people are starting to use CommandBox to start their Adobe ColdFusion and Lucee servers, I've gotten the question of where to find their log files.  The servers that CommandBox starts are full fledged servers with a web admin and all the same log files you'd expect.  However, CommandBox skips the vendor installer and uses the WAR files of each engine for a quick and lightweight deployment that can be deleted later and won't conflict with other servers, no matter how many you have.

Read More

Don't touch that Node-- write your own command line tools in CFML!

Brad Wood |  March 02, 2017

There's a lot of command tools out there written by developers to help them automate all sorts of tasks from code refactoring, linting, and builds. Node has become a popular tool to write reusable tools that can be run from the command line, but many CF developers don't realize that CommandBox has allowed developers to [do this nativley in CFML](https://ortus.gitbooks.io/commandbox-documentation/content/developing/commands/developing_commands.html) for years now.

Read More

How to use a database in CLI scripts with CommandBox

Brad Wood |  February 21, 2017

One of the cool things that CommandBox allows you to do is run CFML code directly from the command line via the execute command, or on Unix as a natively-executable hash bang script! This opens up all sorts of doors for scheduling cron jobs and whatnot that you can write in CFML much faster and easier than using bash or shell scripts. One common question is how to access the database from one of these scripts.

Read More