This directory containing instruction for developers, who want to change something in sdkjs or web-apps module, but don't want to compile pretty compilcated core product to make those changes.
Note: You need the latest Docker version installed.
You might need to pull onlyoffice/documentserver image:
Note: Do not prefix docker command with sudo. This instruction show how to use docker without sudo.
docker pull onlyoffice/documentserver
To create a image with the ability to include external non-minified sdkjs code, use the following command:
git clone https://github.com/ONLYOFFICE/build_tools.git
cd build_tools/develop
docker build -t documentserver-develop .
Note: The dot at the end is required.
To connect external folders to the container,
you need to pass the "-v" parameter
along with the relative paths to the required folders.
The folders sdkjs
and web-apps
are required for proper development workflow
docker run -i -t -d -p 80:80 --restart=always \
-v /host-dir/sdkjs:/var/www/onlyoffice/documentserver/sdkjs \
-v /host-dir/web-apps:/var/www/onlyoffice/documentserver/web-apps documentserver-develop