Project for the Functional Programming course @ CIn/UFPE - Spring 2018
Koans are a widespread technique to learn about new programming languages. Inspired by clojureScript koans we decided to make a web Haskell Koans, where programmers can easily take haskell for a test-drive and see what the buzz is all about.
- Implement the koans response logic
- Connect the website to a remote database [In Progress - see branch]
- Host website
- Figure out how to serve images on build
- Figure out how to serve CSS on build
You can either run the project locally or using containers.
In order to run Haskell Koans locally, you need to:
- Clone the repo
- Navigate to the project's folder on Terminal/Cmd
- Install Happstack:
- Compile and run the project:
runhaskell main.hs
- Open a browser on http://localhost:8000
In order to run Haskell Koans on a container, you need to:
On the root of the project you'll find the Dockerfile
. We also have a few scripts to help:
- To build the docker image run:
scripts/build.sh
- To start the container run:
scripts/start.sh
and open a browser on http://localhost:8080 - To stop the container run:
scripts/stop.sh
Continuous Deployment is enabled through Heroku. Updates on the master
branch are automatically deployed to http://haskellkoans.herokuapp.com
- Hilton Pintor (@hpbl)
- Isabelly Damascena (@isabellyfd)
- Bruno Melo (@bhlvm)