NEAT - New Eden Accounting Tool
Go to file
Nicole Dresselhaus 671b5050aa
version bump
2017-11-30 03:59:10 +01:00
Handler forgot to filter by user-id in wallet -.- 2016-11-20 15:04:04 +01:00
Import scaffolding 2015-03-11 00:13:42 +01:00
Settings scaffolding 2015-03-11 00:13:42 +01:00
app scaffolding 2015-03-11 00:13:42 +01:00
config added lost orders. fixes #7 2015-09-18 19:06:17 +02:00
static fixed URL for Order-Check & API-Key 2016-11-18 00:39:43 +01:00
templates fixed URL for Order-Check & API-Key 2016-11-18 00:39:43 +01:00
test added lost orders. fixes #7 2015-09-18 19:06:17 +02:00
.dir-locals.el scaffolding 2015-03-11 00:13:42 +01:00
.ghci scaffolding 2015-03-11 00:13:42 +01:00
.gitignore converted to stack, using lts-3.16 2016-01-08 06:42:07 +01:00
Application.hs upped lts-version, updated libs, fixed broken stuff 2017-11-30 03:58:29 +01:00
Foundation.hs upped lts-version, updated libs, fixed broken stuff 2017-11-30 03:58:29 +01:00
Import.hs created history as stated in #5 - not paginated yet. 2015-09-18 00:41:37 +02:00
LICENSE converted to stack, using lts-3.16 2016-01-08 06:42:07 +01:00
Model.hs auth now using yesod-auth providers. Multiple providers supported. 2015-06-16 20:08:01 +02:00
README.md corrected links in Readme 2016-12-05 13:40:14 +01:00
Settings.hs upped lts-version, updated libs, fixed broken stuff 2017-11-30 03:58:29 +01:00
neat.cabal version bump 2017-11-30 03:59:10 +01:00
stack.yaml upped lts-version, updated libs, fixed broken stuff 2017-11-30 03:58:29 +01:00

README.md

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 Stack like http://docs.haskellstack.org/en/stable/README.html

  2. install postgres (i use v. 9.3)

    sudo apt-get install -y postgresql-9.3 libpg-dev
    
  3. create user and database inside a psql-shell as user postgres:

    sudo su postgres
    psql
    
    CREATE ROLE neat WITH LOGIN PASSWORD 'neat';
    CREATE DATABASE neat;
    GRANT ALL ON DATABASE neat TO neat;
    
  4. clone this repository and install yesod-bin and build the project

    git clone https://github.com/Drezil/neat
    cd neat
    stack setup
    stack install yesod-bin
    stack build
    
  5. Get the current postgres-data-dump from https://www.fuzzwork.co.uk/dump/postgres-latest.dmp.bz2 and restore it into the neat database:

    sudo su postgres
    cd /tmp
    wget https://www.fuzzwork.co.uk/dump/postgres-latest.dmp.bz2
    bzip2 -d postgres-latest.dmp.bz2
    pg_restore -d neat postgres-latest.dmp
    
  6. run yesod in development-mode using stack with stack exec yesod devel or use neat in production-mode with stack exec neat

  7. maybe(?) correct the access-rights in the neat-database to the neat-user.

    TODO: Find out how!