So you want to install CFWheels?

July 21, 2009 by Mike Henke    6 Comments
Posted under: CFWheels

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

6 Comments + Add Comment

  • Raul Riera

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

  • Lola Lee Beno

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

  • Mike Henke

    @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.

  • Lola LB

    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?

  • Mike Henke

    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

  • Mike Henke

    @Lola LB,

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

  • Got anything to say? Go ahead and leave a comment!