overleaf/server-ce/bin/install-services

15 lines
206 B
Text
Raw Normal View History

#! env bash
2019-08-06 08:00:55 -04:00
set -e
2017-09-05 10:26:40 -04:00
grep 'name:' config/services.js | \
sed 's/.*name: "\(.*\)",/\1/' | \
while read service
do
pushd $service
echo "Installing service $service"
npm install --quiet
popd
done