Capture the state of the debate.
Install requirements
$ sudo apt-get update
$ sudo apt-get install postgresql postgresql-contrib
Set per this
Configure db. Change the user/password credentials in backend/src/Arbital/Constants.hs
to match current user.
$ psql
user=# CREATE DATABASE arbital;
user=# \c arbital
arbital=# CREATE EXTENSION pg_trgm;
Make sure you have postgres installed, and a database called arbital
.
$ cd backend
$ stack install
$ stack exec arbital-exe
$ cd frontend
$ npm install
$ npm start