35213c6643
* Convert to build from source to configure the localtion of configuration.xml. Prebuild binary requires /var/opengrok directory. This package requires the directory inside ${PREFIX}/share/opengrok only. * Update HOMEPAGE Changelog: 0.12-rc5: differentiate between raw and download #578 add H A D links to directory listing #573 fix dtags.eftar file descriptor leak #535 do not unnecessarily create 2 File objects when returning eftar reader #539 0.12-rc4: highlight line number with anchor (#702) timeout for command execution (#429, #487) fix for definitions search displays comment lines (#294) 0.12-rc3: Lucene 4.6.0 Mercurial rename regression fix (#683) let sendToConfigHost body use the parameter "env" to keep align with its signature and other methods 0.12-rc2: bug #672 need double-quotes to specify path bug #625 xref links containing \u don't seem to be working follow-up fixes for Mercurial renamed files handling (fixes #666) Support for Surround SCM history lucene 4.5 (requires full reindex from 0.12-rc1) generate history of files renamed in Mercurial repo separately (fixes #22) 0.12-rc1: JDK7 + tomcat7 tested, JDK6 unsupported! lucene 4.4 -> A LOT faster engine, no spellindex needed, regexp search supported (see help) pl/sql, scala, uuencode languages/analyzers support php analyzers improved monotone, mercurial SCM support improved AccuRev SCM added to supported SCMs new config options in OpenGrok script new search by analyzer/language Changelog for <0.12 is not available.
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1 2013/12/31 22:56:12 ryoon Exp $
|
|
|
|
To use OpenGrok with your code repository, you will need to perform
|
|
the following steps.
|
|
|
|
1. Install version control software that is used for your code repository.
|
|
|
|
2. Install Apache Tomcat 7 from pkgsrc/www/apache-tomcat7.
|
|
|
|
3. Run ${PREFIX}/share/opengrok/bin/OpenGrok with the following options
|
|
to install source.war to ${PREFIX}/share/tomcat/webapps.
|
|
|
|
# JAVA_HOME=/usr/pkg/java/openjdk7 \
|
|
OPENGROK_WAR_TARGET_TOMCAT=${PREFIX}/share/tomcat/webapps \
|
|
${PREFIX}/share/opengrok/bin/OpenGrok deploy
|
|
|
|
4. Prepare your code repository in ${PREFIX}/share/opengrok/var/opengrok
|
|
directory.
|
|
# mkdir -p ${PREFIX}/share/opengrok/var/opengrok/src
|
|
$ cd ${PREFIX}/share/opengrok/var/opengrok/src
|
|
$ git clone your-repository.git
|
|
|
|
5. Run ${PREFIX}/share/opengrok/bin/OpenGrok with the following options
|
|
to index your code repository.
|
|
|
|
# JAVA_HOME=${PREFIX}/java/openjdk7 \
|
|
${PREFIX}/share/opengrok/bin/OpenGrok update
|
|
|
|
6. Start Apache Tomcat 7 server.
|
|
|
|
7. Access http://localhost:8080/source/ .
|
|
===========================================================================
|