代码拉取完成,页面将自动刷新
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
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。