INSTALL
changeset 125 c019ceb604a4
parent 124 12da024402d2
child 126 01078f0097b3
equal deleted inserted replaced
124:12da024402d2 125:c019ceb604a4
     1 Web interface dependencies:
       
     2 - perl >= 5.10
       
     3 - Mojolicious >= 2.98
       
     4 - Mojolicious::Plugin::BootstrapPagination
       
     5 - perl-UUID
       
     6 - jquery
       
     7 
       
     8 On debian, install libuuid-perl, libmojolicious-perl (from wheezy-backports) and libjs-jquery.
       
     9 
       
    10 Mojolicious::Plugin::BootstrapPagination can be installed with cpan, or you
       
    11 can create a debian package with cpan2deb Mojolicious::Plugin::BootstrapPagination
       
    12 
       
    13 Edit CrashTest.conf and change the paths to match your environment.
       
    14 
       
    15 If you want to use the SQL backend for a faster index page, see dist.ini for
       
    16 the additional requirements. Then, you can create the tables with :
       
    17 $ ./CrashTest.pl db create
       
    18 
       
    19 Next, you need to get and build the json minidump-stackwalk from soccoro:
       
    20 https://github.com/mozilla/socorro/tree/master/minidump-stackwalk/
       
    21 
       
    22 Full compilation instructions:
       
    23 $ svn co http://google-breakpad.googlecode.com/svn/trunk google-breakpad
       
    24 $ mkdir obj-breakpad
       
    25 $ cd obj-breakpad
       
    26 $ ../google-breakpad/configure && make
       
    27 $ cd ../
       
    28 $ mkdir minidump-stackwalk
       
    29 $ cd minidump-stackwalk
       
    30 $ wget https://github.com/mozilla/socorro/raw/master/minidump-stackwalk/{Makefile,stackwalker.cc}
       
    31 $ make BREAKPAD_SRCDIR=../google-breakpad/src BREAKPAD_LIBS="../obj-breakpad/src/libbreakpad.a ../obj-breakpad/src/third_party/libdisasm/libdisasm.a" OBJS=/usr/lib/libjsoncpp.a JSON_INCLUDEDIR=/usr/include/jsoncpp
       
    32 
       
    33 Note: the paths above are for the system-installed libjsoncpp on debian. Get
       
    34 the jsoncpp from socorro repository, or adjust the paths for you system if you
       
    35 use another distribution.
       
    36 
       
    37 Copy stackwalker to the path configured in CrashTest.conf.
       
    38 
       
    39 No, you can test:
       
    40 $ hypnotoad -f ./CrashTest.pl
       
    41 
       
    42 The submit URL is /submit and is compatible with socorro.
       
    43