The following dependencies are required to run the service correctly but they are not installed by the package. They must be installed if Mandatory otherwise user discretion is advised.
| Name | Mandatory/Optional |
|---|---|
| carbonio-proxy | Mandatory |
| carbonio-files-db | Mandatory |
| carbonio-user-management | Mandatory |
| carbonio-storages-ce | Mandatory |
| carbonio-preview-ce | Optional |
Install carbonio-files-ce via apt:
sudo apt install carbonio-files-ceor via yum:
sudo yum install carbonio-files-ceAfter the installation you must run pending-setups in order to register the service in service-discover.
This is a Quarkus service; the deployable is the app module.
JVM build:
mvn clean installNative build (Mandrel/GraalVM):
mvn clean install -DnativeJVM mode:
java -Djava.net.preferIPv4Stack=true -jar app/target/quarkus-app/quarkus-run.jarNative binary (app/target/*-runner, the artifact packaged and shipped):
./app/target/carbonio-files-ce-runner -Djava.net.preferIPv4Stack=trueDev mode with live reload:
mvn -pl app quarkus:devThis repo uses the pre-commit framework (.pre-commit-config.yaml).
Install it once per clone:
pip install --user pre-commit
pre-commit install --hook-type pre-commit --hook-type commit-msgBesides linting/formatting, pre-commit locally regenerates the files CI previously
generated and bot-committed (Jenkins now only verifies them):
THIRDPARTIES— regenerated via a vendored copy of jenkins-lib-common's license-maven-plugin invocation/template (.ci/thirdparties/).package/PKGBUILDsha256sums— verified/autofixed via a vendored copy of jenkins-lib-common'schecksum-verify.sh(.ci/checksum-verify.sh);SKIPentries (build artifacts, or sources whose content embedspkgver) are always preserved.
If a hook regenerates a file, pre-commit will fail that commit (by design — it does not
auto-stage changes for you). Review the diff, git add the regenerated file(s), and
re-run git commit.
Files-CE backend service for Zextras Carbonio.
Released under the AGPL-3.0-only license as specified here: COPYING.
Copyright (C) 2022 Zextras https://www.zextras.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
See COPYING file for the project license details
See THIRDPARTIES file for other licenses details
All non-software material (such as, for example, names, images, logos, sounds) is owned by Zextras s.r.l. and is licensed under CC-BY-NC-SA.
Where not specified, all source files owned by Zextras s.r.l. are licensed under AGPL-3.0-only