NEAT - New Eden Accounting Tool
Go to file
2015-09-18 01:08:15 +02:00
app scaffolding 2015-03-11 00:13:42 +01:00
config pagination now works, but always shows all pages (#items/100) for selection. could get messy afterwards. but fixes #5 2015-09-18 01:08:15 +02:00
Handler pagination now works, but always shows all pages (#items/100) for selection. could get messy afterwards. but fixes #5 2015-09-18 01:08:15 +02:00
Import scaffolding 2015-03-11 00:13:42 +01:00
Settings scaffolding 2015-03-11 00:13:42 +01:00
static created history as stated in #5 - not paginated yet. 2015-09-18 00:41:37 +02:00
templates added order-overview page. still needs tweaking and polish. 2015-09-07 03:03:23 +02:00
test created history as stated in #5 - not paginated yet. 2015-09-18 00:41:37 +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 scaffolding 2015-03-11 00:13:42 +01:00
Application.hs created history as stated in #5 - not paginated yet. 2015-09-18 00:41:37 +02:00
Foundation.hs tweaked orders, added lookup for under/overcut via CREST 2015-09-17 23:31:25 +02:00
Import.hs created history as stated in #5 - not paginated yet. 2015-09-18 00:41:37 +02:00
install.sh added reorder goals 2015-07-24 21:18:21 +02:00
Model.hs auth now using yesod-auth providers. Multiple providers supported. 2015-06-16 20:08:01 +02:00
neat.cabal created history as stated in #5 - not paginated yet. 2015-09-18 00:41:37 +02:00
README.md created update, put data into the database, modified readme 2015-08-07 00:07:48 +02:00
Settings.hs scaffolding 2015-03-11 00:13:42 +01:00

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. install dependencies and setup sandbox (invoke install.sh)

  7. 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
    
  8. run yesod with yesod devel