On 03/18/13 11:21, Gandhi, Shailey wrote:
I Have opengrok running in a production environment. Unfortunately I have only this setup and so I have to perform the following test on this itself making sure I don't hurt the running setup.
Use Virtual Box or any virtualization solution as a cheap staging solution for prototyping and testing.
I want to index a git repo using the same instance of Opengrok but not have the results be displayed on the web page. I have copied the repo onto a path different from the current Data Directory. What other changes I should make in the env file and how should I go about doing this.
Surely you want to start with OPENGROK_INSTANCE_BASE env var (assuming you're using the OpenGrok shell script). This should deal with xrefs.
There is another env var OPENGROK_WEBAPP_CFGADDR which if set to "none" will skip sending config to the running instance at the and of indexing.
It also depends on what history backend do you use. With Java DB you'd probably need to switch to alternate server, not sure how one does that. Others can chime in, I think Jens had some pretty elaborate solution for this on his pages.
There might be other necessary steps, I'd heartily recommend running a test in staging environment if your production env has any value to you :-)
v. _______________________________________________ opengrok-discuss mailing list opengrok-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss