Files
document-server-integration/web/documentserver-example/java
Alexandr Fedorov b94704adf8 Merge remote-tracking branch 'remotes/origin/develop' into feature/insert-image
# Conflicts:
#	web/documentserver-example/csharp-mvc/Views/Home/Editor.aspx
#	web/documentserver-example/csharp/DocEditor.aspx
#	web/documentserver-example/java/src/main/webapp/editor.jsp
#	web/documentserver-example/nodejs/views/editor.ejs
#	web/documentserver-example/php/doceditor.php
#	web/documentserver-example/python/templates/editor.html
#	web/documentserver-example/ruby/app/views/home/editor.html.erb
2021-01-27 17:13:14 +03:00
..
2020-09-03 13:08:44 +03:00
2018-08-02 13:59:19 +03:00
2020-09-03 13:08:44 +03:00
2020-09-02 12:06:52 +03:00
2018-08-06 15:02:46 +03:00
2019-10-24 12:27:30 +03:00

Build instruction

At first, You need to install oracle-java8-installer

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Edit the settings.properties configuration file. Specify the name of your local server with the ONLYOFFICE Document Server installed

nano src/main/resources/settings.properties

Edit the following lines:

files.docservice.url.converter=https://documentserver/ConvertService.ashx
files.docservice.url.tempstorage=https://documentserver/ResourceService.ashx
files.docservice.url.api=https://documentserver/web-apps/apps/api/documents/api.js
files.docservice.url.preloader=https://documentserver/web-apps/apps/api/documents/cache-scripts.html

Install Maven:

apt-get install maven

And build:

mvn package

After it, all bin files will be passed to ./target folder

Build from docker

Edit the settings.properties configuration file. Specify the name of your local server with the ONLYOFFICE Document Server installed

nano src/main/resources/settings.properties

Edit the following lines. You need to change documentserver to your documentserver:

files.docservice.url.converter=https://documentserver/ConvertService.ashx
files.docservice.url.tempstorage=https://documentserver/ResourceService.ashx
files.docservice.url.api=https://documentserver/web-apps/apps/api/documents/api.js
files.docservice.url.preloader=https://documentserver/web-apps/apps/api/documents/cache-scripts.html

Run next command in java example directory:

docker-compose up

After it, all bin files will be passed to ./target folder