mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 07:10:55 +00:00
Added install-deps script.
This commit is contained in:
parent
0438e501f9
commit
07cea76931
1 changed files with 9 additions and 0 deletions
9
services/git-bridge/install-deps.sh
Normal file
9
services/git-bridge/install-deps.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "You must be root to install deps" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
apt-get update
|
||||
apt-get install ant
|
||||
apt-get install openjdk-7-jdk
|
||||
update-alternatives --set java /usr/lib/java-7-openjdk-amd64/jre/bin/java
|
||||
update-alternatives --set javac /usr/lib/java-7-openjdk-amd64/jre/bin/javac
|
Loading…
Reference in a new issue