overleaf/server-ce/bin/install-services
2019-08-06 12:00:55 +00:00

14 lines
206 B
Bash
Executable file

#! env bash
set -e
grep 'name:' config/services.js | \
sed 's/.*name: "\(.*\)",/\1/' | \
while read service
do
pushd $service
echo "Installing service $service"
npm install --quiet
popd
done