haskellers.com site
Haskell Other
Latest commit f2895f4 Aug 29, 2016 @snoyberg committed on GitHub Merge pull request #39 from amitaibu/travis-badge
Add travis badge to README
Failed to load latest commit information.
Handler Display identifiers for admins Aug 28, 2016
Model Clean up warnings Sep 30, 2014
Settings yesod 1.1 Jul 8, 2012
app Don't use the fake dist directory commercialhaskell/stack#520 Jul 5, 2015
config Setting can be declared Bool in yaml Aug 28, 2016
docker Add missing shared libraries for Docker May 26, 2015
kube Update secret Mar 31, 2016
messages added French translation for the site Nov 5, 2015
static Add Google Email support Aug 24, 2016
templates Merge branch 'auth-dummy' of https://github.com/amitaibu/haskellers Aug 28, 2016
.gitignore Move facebook creds out of repo Aug 28, 2016
.travis.yml Scale back Travis matrix Oct 4, 2015
API.markdown 10 random users on homepage Oct 11, 2010
Application.hs Move facebook creds out of repo Aug 28, 2016
Foundation.hs Merge branch 'auth-dummy' of https://github.com/amitaibu/haskellers Aug 28, 2016
Import.hs yesod 1.1 Jul 8, 2012
LICENSE yesod 1.1 Jul 8, 2012
Model.hs Clean up warnings Sep 30, 2014
README.md Add travis badge Aug 28, 2016
Settings.hs Setting should be Bool Aug 28, 2016
StaticFiles.hs GHC 7.4 changes Jul 8, 2012
TODO Updated TODO Oct 18, 2010
api-test.hs JSON API Oct 6, 2010
cabal.config Use LTS snapshot Apr 28, 2015
devel-server.hs Added bling page Feb 4, 2011
devel.hs Use setPort function instead of outdated function Aug 26, 2016
docker.sh Dockerized and stackified May 26, 2015
fastcgi.hs Threaded FastCGI Oct 6, 2010
haskellers.cabal Upgrade to LTS 3.7 Oct 12, 2015
routes Poll closing Nov 26, 2011
stack.yaml Add Google Email support Aug 24, 2016
upload.sh yesod 1.1 Jul 8, 2012


Build Status


Full source code for the haskellers.com website. Use as a base for your own Haskell/Yesod applications or as a sample application to help with learning Haskell/Yesod

System Requirements

You must have Haskell, Yesod and Postgresql installed.

Instructions for installing Haskell and Yesod are available at http://www.yesodweb.com/page/quickstart

You will also need to install libicu-dev. This can be installed on debian based machines with:

apt-get install libicu-dev


  1. Download the source code to an appropriate folder. Just run:

    git clone https://github.com/snoyberg/haskellers.git`

    Alternatively download the zip archive at https://github.com/snoyberg/haskellers/archive/master.zip and extract to a suitable folder.

  2. cd to the haskellers directory created above.

  3. Download and install local copies of all the libraries needed by haskellers.com. using the Stack tool:

    stack install yesod-bin cabal-install --install-ghc && stack build
  4. create a new postgresql database for the haskellers data. Just run:

    sudo su - postgres
    psql template1
    CREATE USER <username> WITH PASSWORD '<pwd>';
    CREATE DATABASE <dbname>;
  5. Copy config/db/postgresql.yml.example to config/db/postgresql.yml, and edit the latter to reflect the choices you made in step 4.

  6. Copy config/db/google-email.yaml.example to config/db/google-email.yaml and config/db/facebook.yaml.example to config/db/facebook.yaml

  7. Copy config/db/aws.example to config/db/aws, and in the latter replace SOME-ACCESS-KEY and SOME-SECRET-KEY with random, unguessable strings.

  8. Start the haskellers application by running stack exec -- yesod devel.