summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Marinello <marinello@libreoffice.org>2020-04-22 09:27:56 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-05-05 22:24:45 +0200
commitcf0cd0755faf4fab616df2066c74c182289dda48 (patch)
treeafd9a10d6f64b2b85de47d10453681c1767b7833
parent61a81af326405730bf2f0deb4380fc31423af194 (diff)
Start writing something serious in the INSTALL file
Signed-off-by: Marco Marinello <marinello@libreoffice.org> Change-Id: Iabe21ce53ab36c9d0afab6abd4da8831ea2a3b3f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92668 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--INSTALL30
1 files changed, 29 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index adff4aef0..81e211914 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1 +1,29 @@
-Left as an exercise to the reader.
+We strongly discourage to build both core and online as superuser.
+Therefore, make sure you have a non-privileged user which can
+run /sbin/setcap with sudo without password.
+Make even sure that the user you're going to use owns the whole tree
+(the simplest way is to directly clone with the user user for build).
+
+To build LibreOffice Online you'll need to compile LibreOffice core first:
+1. Clone core repository
+ git clone https://git.libreoffice.org/core
+2. ./autogen.sh --with-distro=LibreOfficeOnline
+3. make
+
+
+When you have a working build of LOKit you can build LOOL.
+
+1. Clone this repository
+ git clone https://git.libreoffice.org/online
+2. ./autogen.sh
+3. ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-silent-rules \
+ --with-lokit-path=YOUR_INCLUDE_PATH_TO_CORE_BUILD \
+ --with-lo-path=/opt/libreoffice
+4. make
+
+
+If you're interested in building a docker image, refer to the
+`docker` directory and to https://wiki.documentfoundation.org/Development/BuildingOnline