@burna/osjs-office-collabora
v1.1.11
Published
Osjs office application working with collabora service
Readme
OSjs Office Application

Introduction
This is an application for OSjs which can open and make document, presentation and spreadsheet files, supporting a wide range of extensions, using Collabora Online Development Edition (CODE) service.
Package Installation by Cloning
1- Navigate to the following directory of OS.js project
cd src/packages2- Clone hosting application in this directory
git clone https://github.com/BurnaSmartLab/osjs-office-collabora.git3- Then navigate to cloned directory
cd osjs-office-collabora4- Run following command in the current directory to install dependencies
npm install5-Build office package in current directory
npm run build6- Run following command in root directory of OSjs project
npm run package:discover7- Run serve command in root directory of OSjs project
npm run serve
Package Installation by by NPM Dependency Manager:
1- Execute the following command in OS.js root directory
npm install @burna/osjs-office-collabora2- Run following command in root directory of OSjs project
npm run package:discoverUsage:
Add following office and express config to src/server/config.js file of OSjs:
// Replace 'http://localhost:12345' with your valid Collabora server address
express:{
maxBodySize:'1000000kb'
},
office: {
collabora_online: 'http://localhost:12345'
},The office application is available in Office Menu of the OS.js :tada:
Quick installation of CODE docker
1- Grab the Docker image
docker pull collabora/code2- Start a new container, for example:
docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" --privileged --volume "/usr/share/fonts/truetype/:/opt/collaboraoffice6.4/share/fonts/truetype/local/:ro" -e "username=admin" -e "password=admin" --name collabora --cap-add MKNOD collabora/codeHere is the step-by-step instructions
