From d1808ad4d70bbf73328f45be35660e08e16c2dc7 Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Wed, 11 Mar 2015 00:35:01 +0100 Subject: [PATCH] added rudamenty readme --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c86cd5f --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# New Eden Accounting Tool + +This is a complete rewrite of the New Eden Accounting Tool currently found at [http://pwning.de/neat](). + +At the moment there is nothing much to see here but a bit of playing around with yesod. Pull-Requests are welcome anyway. + +## Getting stuff to run + +1. Install Haskell like [http://www.stackage.org/Install]() +2. Go into a folder and do + + ``` + wget http://www.stackage.org/lts/cabal.config + sudo apt-get install -y build-essential zlib1g-dev + cabal update # download package list + cabal install alex happy yesod-bin # install build tools + ``` + +3. clone this repository into the same folder +4. install postgres (i use v. 9.3) + + ``` + sudo apt-get install -y postgresql-9.3 libpg-dev + ``` + +5. create user and database inside a psql-shell as user postgres: + + ``` + CREATE ROLE neat; + ALTER ROLE neat LOGIN; + CREATE DATABASE neat; + GRANT ALL ON DATABASE neat TO neat; + ``` + +6. run yesod with ```yesod devel```