NEAT - New Eden Accounting Tool
app | ||
config | ||
Handler | ||
Import | ||
Settings | ||
static | ||
templates | ||
test | ||
.dir-locals.el | ||
.ghci | ||
.gitignore | ||
Application.hs | ||
Foundation.hs | ||
Import.hs | ||
install.sh | ||
LICENSE | ||
Model.hs | ||
neat.cabal | ||
README.md | ||
Settings.hs | ||
stack.yaml |
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
-
Install Haskell like http://www.stackage.org/Install
-
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
-
clone this repository into the same folder
-
install postgres (i use v. 9.3)
sudo apt-get install -y postgresql-9.3 libpg-dev
-
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;
-
install dependencies and setup sandbox (invoke install.sh)
-
Get the current postgres-data-dump from
https://www.fuzzwork.co.uk/dump/postgres-latest.dmp.bz2
and restore it into theneat
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
-
run yesod with
yesod devel