Appendix: Scotch Box

The following is a description of how to install the excellent Scotch Box onto your own computer, in order to have a fully operational development environment for XenForo in just a few minutes with a handful of simple commands.

XenForo has a custom Scotch Box config, which provides everything you need to run XenForo, including a debugger and a performance-enhancing data cache.

Once your Scotch Box is up and running, you can keep your XenForo PHP and JS files on your host machine, allowing you to use your text editor or IDE of choice, while the virtual machine is responsible for compiling and serving those files through its web server.

You will be able to visit your new web server in your web browser at the following address:

http://192.168.33.10

The web server will pull the files to be served from

/Users/{username}/MyServer/public

If you want your XenForo to be installed at http://192.168.33.10/xenforo, you should place the contents of the upload folder from the XenForo package into /Users/{username}/MyServer/public/xenforo.

While the basic Scotch Box requires some additional configuration (which is handed through the custom Vagrantfile) in order to run XenForo 2, Scotch Box Pro requires no additional configuration, and is ready to run XenForo 2 without downloading extra packages.

To run Scotch Box Pro, purchase it from the Scotch Box Pro website, then run the git clone command provided as part of the instructions you will receive post-purchase.

You can now install using the same instructions as above, with the single exception that you should download this custom Vagrantfile instead of the one listed in the instructions for Scotch Box.