diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-17 14:22:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-17 14:22:54 +0200 |
commit | 1c8ae0a5bde06f879f37fb7670ec339d6b7a2ccf (patch) | |
tree | 76a87ffa65a3bdc4e61922c0f7b3d92e2e86ff9b /INSTALL-DEV | |
parent | 25933a55455b2a0927769b29d06e3b2779e3efb6 (diff) |
Add reloading instructions
Diffstat (limited to 'INSTALL-DEV')
-rw-r--r-- | INSTALL-DEV | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/INSTALL-DEV b/INSTALL-DEV index 9a2c3d8..3ad039c 100644 --- a/INSTALL-DEV +++ b/INSTALL-DEV @@ -71,7 +71,7 @@ replacing <BREP-OUT-ROOT> and <BREP-SRC-ROOT> 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 |