From 1c8ae0a5bde06f879f37fb7670ec339d6b7a2ccf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Dec 2015 14:22:54 +0200 Subject: Add reloading instructions --- INSTALL-DEV | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'INSTALL-DEV') diff --git a/INSTALL-DEV b/INSTALL-DEV index 9a2c3d8..3ad039c 100644 --- a/INSTALL-DEV +++ b/INSTALL-DEV @@ -71,7 +71,7 @@ replacing and with the actual absolute paths # Repository root. Use / for web server root. And don't forget to also # update the Alias directives below. # - root /pkg/ + brep-root /pkg/ # Brep module configuration. # @@ -99,3 +99,13 @@ To verify, visit the repository root. To troubleshoot, see Apache logs, for example: $ sudo tail -f /var/log/apache2/error.log + + +4. Reloading During Development + +To do a "complete reload" (i.e., recreate database schema, load the repository +data, and reload the Apache2 plugin), execute the following from brep/: + +psql --quiet -d brep -f brep/package.sql +loader/brep-loader tests/loader/r.conf +sudo /etc/init.d/apache2 restart -- cgit v1.1