summaryrefslogtreecommitdiff
path: root/README
blob: 39a060a4eb2077fdfbd7e7261aa1ee15e89b9877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
The VNDB.org Source Code
------------------------


Installation & documentation

  Documentation is lacking, you're pretty much on your own if you want to
  get things running. :-(

  Development notes for specific features or ideas can be found in data/notes/.
  Keep in mind, however, that these notes are often mostly technical and may
  not reflect the actual (current) implementation. They do elaborate on various
  design decisions and may be useful for understanding how certain things work.


Requirements

  global requirements:
    Linux, or an OS that resembles Linux. Chances are VNDB won't run on Windows.
    PostgreSQL 9.3+ (don't try older versions or other SQL databases, it won't work)
    perl 5.20 recommended, 5.10+ may also work
    A webserver that works with TUWF (lighttpd and Apache are known to work)

  (perl 5.20 core modules are not listed.)

  util/vndb.pl:
    Algorithm::Diff::XS
    DBI
    DBD::Pg
    Crypt::URandom
    Crypt::ScryptKDF
    Image::Magick
    JSON::XS
    TUWF
    FCGI                 (optional, for running as a FastCGI script)
    PerlIO::gzip         (optional, for output compression)

  util/multi.pl:
    API:
      Crypt::ScryptKDF
      JSON::XS
    APIDump:
      JSON::XS
      PerlIO::gzip
    Core:
      DBI
      AnyEvent
      AnyEvent::Pg
    IRC:
      AnyEvent::IRC
    Maintenance:
      PerlIO::gzip
    RG:
      XML::Parser
      graphviz           (/usr/bin/dot is used by default)

  util/skingen.pl
    Image::Magick
    CSS::Minifier::XS    (optional, minimizes CSS output)

  util/jsgen.pl
    JSON::XS
    JavaScript::Minifier::XS (optional, minimizes JS output)
    uglifyjs                 (optional, slower but better JS compression)

  util/spritegen.pl
    Image::Magick
    pngcrush             (optional)


Contact

  IRC:   #vndb @ irc.synirc.net
  Email: contact@vndb.org


License

  GNU AGPL, see COPYING file for details.