Tuesday, June 9, 2009

How to create an internal stackoverflow using drupal

For a while I was trying to find an internal stackoveflow website to use at my company. At first I looked at stacked , but in the time it took to get that setup that was taken down for legal reasons.

However I had recently been working with drupal and thought that there must be some combination of mods that you could use to make a stackoverflow. It turns out there is.

Here is how I got it running.

First for the most difficult part. Installing drupal. You want something like the WAMP which simplifies quite a bit. But that is windows only and the server it is running on is a mac. So how do you set it up on a mac? Use MAMP

Next, the module that you want to use is the finder module.

For configuring it you want to configure the finder module and add a content type.

For the content type you want to add is a regular content type with a title and a body. Name it something like questions.

Next you want to create the appropriate finder. For it you want to set the autocomplete option and make it search on titles.

And there you go. This doesn't recreate every option stackoverflow has, but its a pretty nice start. For additional usage like tags you can use modules like heirarchical select and create as many tag as you like for your data.

No comments:

Post a Comment