aboutsummaryrefslogtreecommitdiff
path: root/INSTALL-DEV
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-10-24 12:45:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-10-24 12:45:56 +0300
commit943c712c39f8389e0b730e10c32b3fa860602853 (patch)
tree5dcce039a9c1aa75a85ddda9536e77918f5989ff /INSTALL-DEV
parentff96d28f969a6716cfc9ccefe94e70132bc4d6db (diff)
Update install instructions
Diffstat (limited to 'INSTALL-DEV')
-rw-r--r--INSTALL-DEV16
1 files changed, 8 insertions, 8 deletions
diff --git a/INSTALL-DEV b/INSTALL-DEV
index e6c46cd..da27c8f 100644
--- a/INSTALL-DEV
+++ b/INSTALL-DEV
@@ -12,13 +12,13 @@ user under which Apache2 is running (See the "User" directive in the Apache2
Check that the files in the brep/ directory are readable by "others". If they
are not, then run the following two commands to grant Apache2 read access:
-setfacl -Rdm g:www-data:rx brep
-setfacl -n -Rm g:www-data:rx brep
+$ setfacl -Rdm g:www-data:rx brep
+$ setfacl -n -Rm g:www-data:rx brep
And also for all the directories leading up to brep/, for example, if you have
~/projects/brep/, then:
-setfacl -m g:www-data:rx ~/ ~/projects
+$ setfacl -m g:www-data:rx ~/ ~/projects
Note: strictly speaking www-data in the above two commands is the Apache2
group, not user. However, most installations use the same name for both.
@@ -208,11 +208,11 @@ $ sudo tail -f /var/log/apache2/error.log
To do a "complete reload" (i.e., recreate database schemes, load the repository
data, and reload the Apache2 plugin), execute the following from brep/:
-migrate/brep-migrate --recreate package
-migrate/brep-migrate --recreate build
-load/brep-load --bpkg ../bpkg/bpkg/bpkg tests/load/loadtab
-sudo /etc/init.d/apache2 restart
-sudo systemctl restart apache2
+$ migrate/brep-migrate --recreate package
+$ migrate/brep-migrate --recreate build
+$ load/brep-load --bpkg ../bpkg/bpkg/bpkg tests/load/loadtab
+$ sudo /etc/init.d/apache2 restart
+$ sudo systemctl restart apache2
Note that if instead you need to recreate the whole databases (e.g., migration
is not possible), then one way to do it would be: