/arbital

Capture the state of the debate.

Primary LanguageJavaScript

arbital

Capture the state of the debate.

Installation

Postgres configuration

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;

Backend

Make sure you have postgres installed, and a database called arbital.

$ cd backend
$ stack install
$ stack exec arbital-exe

Frontend

$ cd frontend
$ npm install
$ npm start