Collaborative ARgumentation Brought ONline
CARBON is short for ‘Collaborative ARgumentation Brought ONline’.
It builds on top of DIAMOND to provide a JavaScript heavy web application that enables clients to use abstract dialectical frameworks in a collaborative context.
CARBON was initially published at sourceforge, but since I like my projects to be on github as well, I decided to put it here, too.
CARBON was the topic of my Bsc. Thesis, which can be found via de15-qucosa2-171954">
urn
.de
15-qucosa2-171954
carbon uses PostgreSQL to store data permanently,
and thus it is necessary to have a PostgreSQL instance running that carbon can connect to.
To build carbon, an installation of the Haskell platform is necessary and
the development library for PostgreSQL is required as well.
On a typical Debian or Ubuntu system you can easily install all required packages via apt:
apt-get install haskell-platform libpq-dev postgresql
If you’re running a different system,
you may have to download the Haskell Platform by yourself,
or see if your system has a similar package available.
You should now have a tool called cabal
in your $PATH
,
and we will use it in the following steps to fetch
the packages carbon depends on, and compile it afterwards.
cabal update
.cabal configure
,cabal install $package1 $package2
.cabal install HDBC HDBC-postgresql
.cabal build
../dist/build/carbon/carbon
.carbon nullConfig $filename
to create an example configuration file that can be adjusted.carbon
without parameters will list all possible command line parameters.Now it’s necessary to configure the PostgreSQL server:
Make sure a login and a database for carbon to use are available by executing the following steps:
$ su postgres
$ psql
CREATE ROLE exampleUser LOGIN password ‘examplePassword’;
CREATE DATABASE carbon ENCODING ‘UTF8’ OWNER exampleUser;
Remember to replace example{User,Password} with custom values.
psql carbon < ./Carbon/Backend/PostgreSQL/Design/database.sql
. Default entries for these tables will be created by carbon the first time it is started.You can now execute carbon $configFile
and visit your fresh carbon instance in a browser.
Unless changed in the config, the default port for carbon is 8000
,
and the login for the automatically created default user is admin:admin, and should be changed soon.