yeomanly

So you want to install CFWheels?

2009 July 21
tags: CFWheels
by Mike Henke

I am doing a series for the CFWheels framework similar to Dan Wilson's "So you want to" series for Model Glue:Unity. Here is his initial post. I will try to match each post but using CFWheels. My first post will cover installing CFWheels.

CFWheels is a framework based on Ruby on Rails. I love the idea of Convention over Configuration when it comes to ColdFusion coding.

Installation


You can find the latest builds here in svn. The download page is here. I will be using 0.9.3 and these instructions assume you will have the framework in webroot.

Unzip the contents of cfwheels.0.9.3.zip into your webroot. You should see alot of folders and files. All the folders and files have a purpose, which might seem obvious for some like images or javascripts folders. Others might not make to much sense now like plugins or views, but don't worry. All the files and folders are there for a reason which we will cover in upcoming posts.

To verify the directories were created properly, run http://localhost/

If everything has been installed correctly, you will see:

Congratulations!

You have successfully installed version 0.9.3 of Wheels.
Welcome to the wonderful world of Wheels, I hope you will enjoy it!

CFWheels is running now, next post will be how to get the cool rewrite.  You must be using Apache or IIS for this to work. Sorry people using the built in web server with ColdFusion, you are stuck using http://localhost/index.cfm/cfc_name/method_name instead of the cool http://localhost/cfc_name/method_name

So you want to install CFWheels?

6 Responses leave one →
  1. Raul Riera
    Jul 21, 2009 at 10:30 PM

    Welcome to the world of wheels :) can't wait for your next installments

  1. Lola Lee Beno
    Lola Lee Beno PERMALINK
    Aug 24, 2009 at 6:35 AM

    Can you install CFWheels as being under /Library/WebServer/cfwheels/?

  1. Mike Henke
    Aug 24, 2009 at 8:06 AM

    @Lola -- it depends on how your web server access the files. If the url to this location similiar to http://localhost/ you should be fine.

  1. Lola LB
    Lola LB PERMALINK
    Aug 24, 2009 at 10:26 AM

    Actually, I do mean that. Within /Library/WebServer/Documents/ directory, I have ModelGlue, coldspring, reactor, etc. And I use http://127.0.0.1/MGApp1/ to run an application using MG.

    Can I do the same with CFwheels? If I want to run a CFWheels app, I should install that within the /CFWheels directory and http://127.0.0.1/CFWheels/App1 will work, right?

  1. Mike Henke
    Aug 24, 2009 at 11:04 AM

    That will not work without some customization. CFWheels applications need to run off of http://127.0.0.1

    I posted your question to the CFWheels Google group http://bit.ly/10HDEc

  1. Mike Henke
    Aug 25, 2009 at 3:17 PM

    @Lola LB,

    I wonder if this could be fixed using mappings and/or setting your context path in the web server.

Leave a Reply

Leave this field empty: