This project aims to be an implementation for a trust based POS for hackerspaces.
##Dependencies
###External dependencies
In order to build yammat you need the packages `cabal-install`, `ghc` and `postgresql`. Furthermore you need the Haskell packages `alex` and `happy`. To install these enter `cabal install alex happy` into your command line.
All internal dependencies are in the file `yammat.cabal` and will be installed automagically with the command `cabal install --only-dependencies`.
##Building
To build this project enter `cabal configure && cabal build` into your command line
##Deployment
Copy or link the executable `dist/build/yammat/yammat` to your desired run location alongside with the folders `static` and `config`. The Folders should be copied, or you will get problems with your git pulls.
##Configuration
Check the configuration File `config/settings.yml`. Create Postgresql Databases according to these settings.
Run `./yammat config/settings.yml` in your desired run location. Finally point a reverse-proxy (something like nginx) at `http://localhost:3000` or any other port you configured in `donfig/settings.yml`.