Skip to content

krvikash/starburst-opengrok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

starburst-opengrok

Overview:

The scripts basically setup the enviornment for opengrok and helps you to search the source code very efficiently.

OpenGrok is a fast and usable source code search and cross reference engine. It helps you search, cross-reference and navigate your source tree. It understands various program file formats and history from many Source Code Management systems. In other words it lets you grok (profoundly understand) source code and is developed in the open, hence the name OpenGrok

Arguments. Default Value
OS Mac OS
Worksace root Home location (~)
Cloned git repo https://github.com/trinodb/trino.git

Usage:

  1. Install all pre-requisites file. Execute install-opengrok.sh script
Arguments Default Value
1 (Cleanup Workspace) False
2 (Uninstall tomcat) False
3 (Uninstall universal tags) False
sh install-opengrok.sh Y Y Y
  1. Start tomcat server, clone git repo and do indexing on the source code
sh start-opengrok.sh
  1. Stop tomcat server
sh stop-opengrok.sh
  1. Add more repo in the $OPENGROK_WORKSPACE/src locationa and re-index the source code by running below command. Tomcat server will automatically pick up the latest code after reindex.
export OPENGROK_WORKSPACE=~/opengrok

java -Djava.util.logging.config.file=$OPENGROK_WORKSPACE/etc/logging.properties -jar \
     $OPENGROK_WORKSPACE/dist/lib/opengrok.jar \ 
     -c /opt/homebrew/bin/ctags \
     -s $OPENGROK_WORKSPACE/src \
     -d $OPENGROK_WORKSPACE/data \
     -H -P -S -G -W \ 
     $OPENGROK_WORKSPACE/etc/configuration.xml \
     -U http://localhost:8080/source

About

Setup opengrok environment locally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages