aboutsummaryrefslogtreecommitdiff
path: root/INSTALL-DEV
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL-DEV')
-rw-r--r--INSTALL-DEV12
1 files changed, 10 insertions, 2 deletions
diff --git a/INSTALL-DEV b/INSTALL-DEV
index 751237b..d14dfab 100644
--- a/INSTALL-DEV
+++ b/INSTALL-DEV
@@ -49,7 +49,10 @@ $ sudo tail -f /var/log/postgresql/*.log
All the commands are executed from brep project root.
$ migrate/brep-migrate
-$ load/brep-load tests/load/r.conf # Or some other loader config.
+
+# Or use some other loader config.
+#
+$ load/brep-load --bpkg ../bpkg/bpkg/bpkg tests/load/r.conf
To verify:
@@ -118,6 +121,11 @@ To do a "complete reload" (i.e., recreate database schema, load the repository
data, and reload the Apache2 plugin), execute the following from brep/:
migrate/brep-migrate --recreate
-load/brep-load tests/load/r.conf
+load/brep-load --bpkg ../bpkg/bpkg/bpkg tests/load/r.conf
sudo /etc/init.d/apache2 restart
sudo systemctl restart apache2
+
+Note that if instead need to recreate the whole database (e.g., migration is
+not possible), then one way to do it would be:
+
+psql -d brep -c 'DROP OWNED BY <user>'