Clone development environment to work dir
git clone https://github.com/ONLYOFFICE/build_tools.git
Modify Docker Images
Note: Do not prefix docker command with sudo. This instruction show how to use docker without sudo.
cd build_tools/develop docker pull onlyoffice/documentserver docker build --no-cache -t documentserver-develop .
Note: The dot at the end is required.
Note: Sometimes script may fail due to network errors. Just restart it.
Clone development modules
Clone development modules to the work dir
git clone https://github.com/ONLYOFFICE/sdkjs.git git clone https://github.com/ONLYOFFICE/web-apps.git git clone https://github.com/ONLYOFFICE/server.git
docker run on Linux or macOS
run with sdkjs and web-apps
docker run -i -t -p 80:80 --restart=always -e ALLOW_PRIVATE_IP_ADDRESS=true -v $(pwd)/sdkjs:/var/www/onlyoffice/documentserver/sdkjs -v $(pwd)/web-apps:/var/www/onlyoffice/documentserver/web-apps documentserver-develop
or run with sdkjs, web-apps and server
docker run -i -t -p 80:80 --restart=always -e ALLOW_PRIVATE_IP_ADDRESS=true -v $(pwd)/sdkjs:/var/www/onlyoffice/documentserver/sdkjs -v $(pwd)/web-apps:/var/www/onlyoffice/documentserver/web-apps -v $(pwd)/server:/var/www/onlyoffice/documentserver/server documentserver-develop
我想要调试core,如何添加