From dd475c3bcbb0692a3aa9476be1ce892bed945c33 Mon Sep 17 00:00:00 2001 From: tobias ollive Date: Fri, 16 Dec 2022 15:41:18 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'compile=5Fonly=5Fo?= =?UTF-8?q?ffice'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compile_only_office.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile_only_office.md b/compile_only_office.md index 15b266a..488fc82 100644 --- a/compile_only_office.md +++ b/compile_only_office.md @@ -12,7 +12,7 @@ On part du principe que tout se passe dans le dossier `$HOME/onlyoffice` base.replaceInFileRE(server_build_dir + "/Common/sources/license.js", "const buildDate = '[0-9-/]*'", "const buildDate = '" + cur_date + "'") base.replaceInFileRE(server_build_dir + "/Common/sources/commondefines.js", "const buildVersion = '[0-9.]*'", "const buildVersion = '" + product_version + "'") + # nombre d'utilisateurs fixé arbitrairement à 500 -+ base.replaceInFileRE(server_build_dir + "/Common/sources/constants.js", "exports.LICENSE_CONNECTIONS = '[0-9.]*'", "exports.LICENSE_CONNECTIONS = '" + "500" + "'") ++ base.replaceInFileRE(server_build_dir + "/Common/sources/constants.js", "LICENSE_CONNECTIONS = [0-9.]*", "LICENSE_CONNECTIONS = 500") ``` - Changer le dockerfile pour supprimer une erreur liée au dossier `tmp`. Attention, il faut compiler l'integralité de onlyoffice. Ne compiler que la partie serveur conduit à un problème pendant l'édition des liens. ```