overleaf/services/git-bridge/reinstall

3 lines
203 B
Text
Executable file

command -v mvn >/dev/null 2>&1 || sudo apt-get install maven2
sudo mvn package &&\
sudo mv ./target/writelatex-git-bridge-1.0-SNAPSHOT-jar-with-dependencies.jar /usr/local/sbin/writelatex-git-bridge.jar