Go to file
Astro 38e91a20b5 barcode.js integration 2015-07-19 01:00:54 +02:00
Handler fixed check of used avatars 2015-06-24 01:48:06 +02:00
Import inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
Settings inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
app inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
config now tracking article loss 2015-05-19 05:37:22 +02:00
messages now tracking article loss 2015-05-19 05:37:22 +02:00
static barcode.js integration 2015-07-19 01:00:54 +02:00
templates barcode.js integration 2015-07-19 01:00:54 +02:00
test inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
.dir-locals.el inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
.ghci inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
.gitignore inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
Application.hs first toying around with avatars. 2015-04-16 02:12:03 +02:00
Foundation.hs barcode.js integration 2015-07-19 01:00:54 +02:00
Import.hs inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
Model.hs inital working commit. Almost done. 2015-04-04 06:46:33 +02:00
README.md readme update 2015-04-16 05:10:47 +02:00
Settings.hs transplant to postgresql 2015-04-06 23:12:58 +02:00
yammat.cabal first toying around with avatars. 2015-04-16 02:12:03 +02:00

README.md

#yammat

Yet Another MateMAT

##Introduction

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, libmagick++-dev and postgresql. Furthermore you need the Haskell packages alex and happy. To install these enter cabal install alex happy into your command line.

###Internal dependencies

Before installing the internal dependencies it is best practice to put the project into a sandbox with cabal sandbox init.

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.

##Lift-Off

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 config/settings.yml.

For better control You can wrap an init script around this. How to do this is described in my blog.