Development database

There is a development database available for download at
https://vndb.org/d8#3.
When you first run the docker image, you will be asked whether you want to
download and import this database. If you do not use docker, you can import
this database manually as follows:

Follow the steps below to setup PostgreSQL and initialze the database

Download and extract the development database

psql -U vndb -f dump.sql

Requirements (when not using Docker)

Global requirements:

Linux, or an OS that resembles Linux. Chances are VNDB won’t run on Windows.

PostgreSQL 10 (older versions may work)

perl 5.24 recommended, 5.10+ may also work

Perl modules (core modules are not listed):

General:

Crypt::ScryptKDF

Crypt::URandom

DBD::Pg

DBI

Image::Magick

JSON::XS

PerlIO::gzip

Tie::IxHash

util/vndb.pl (the web backend):

Algorithm::Diff::XS

Text::MultiMarkdown

TUWF

HTTP::Server::Simple

util/multi.pl (application server, optional):

AnyEvent

AnyEvent::Pg

AnyEvent::IRC

XML::Parser

graphviz (/usr/bin/dot is used by default)

Setup

Make sure all the required dependencies (see above) are installed

Create a suitable data/config.pl, using data/config_example.pl as base.

Run the build system:

make

Setup a PostgreSQL server and make sure you can login with some admin user