aboutsummaryrefslogtreecommitdiff
path: root/INSTALL-DEV
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-07-12 17:26:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-07-14 18:07:18 +0300
commite60108713590ccee83da7e2581a43fd5fda5c8ce (patch)
tree59650cce83b69e527040560482bba7c8513ab17e /INSTALL-DEV
parent8701276b3d98b5c6f927e2865ee6a915296033c1 (diff)
Add repository certificate info to the About page
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>'