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.
-
Install Stack like http://docs.haskellstack.org/en/stable/README.html
-
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:
sudo su postgres psql
CREATE ROLE neat WITH LOGIN PASSWORD 'neat'; CREATE DATABASE neat; GRANT ALL ON DATABASE neat TO neat;
-
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
-
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 in development-mode using stack with
stack exec yesod devel
or use neat in production-mode withstack exec neat
-
maybe(?) correct the access-rights in the neat-database to the neat-user.
TODO: Find out how!