Skip to content

Instantly share code, notes, and snippets.

@ShockwaveNN
Last active July 31, 2017 14:19
Show Gist options
  • Save ShockwaveNN/463c27fe6abd4d114aa8570ccaf2bf4e to your computer and use it in GitHub Desktop.
Save ShockwaveNN/463c27fe6abd4d114aa8570ccaf2bf4e to your computer and use it in GitHub Desktop.
update web apps to custom branch
apt-get update && apt-get -y install git
git clone -b feature/new-toolbar https://github.com/ONLYOFFICE/web-apps.git
cd web-apps/build/
npm install -g grunt-cli
npm install
SERVER_VERSION=$(dpkg-query --showformat='${Version}' --show onlyoffice-documentserver-integration)
PRODUCT_VERSION=4.5.dev BUILD_NUMBER="${SERVER_VERSION#*-}" grunt --level=ADVANCED
cp -r /web-apps/deploy/web-apps/ /var/www/onlyoffice/documentserver/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment