Monday, April 17, 2006

Playing with HAppS

I downloaded HAppS, the Haskell Application Server, I mentioned previously to try it out.

I already had GHC installed so I could build darcs but I needed a few additional packages to install HAppS. Most of these I obtained via apt-get but I had to manually install the following two:

Once they were installed compiling and building HAppS is done using the Cabal based setup file:
runhaskell Setup.hs configure
runhaskell Setup.hs build
sudo runhaskell Setup.hs install

Once that's out of the way I tried out the 'hello' example. This is located in the 'examples' subdirectory of 'HAppS' and needs to be built and run:
make
./hello

This starts up an application server listening on port 8000. Where to go from there in terms of building apps I'm not sure as there doesn't seem to be much 'how to' style documentation. Digging through the source and examples looks to be the next thing to try.

Categories:

2 Comments:

Anonymous Tom Davies said...

Note that if you use the latest FPS you'll need to change a few import statements, as the module name has changed

3:33 PM  
Anonymous Stephen D'Angelo said...

I would be very interested in any updates as you play around with HAppS, as I'm in a very similar situation with it!

5:55 AM  

Post a Comment

<< Home