overleaf/bin/install-services

13 lines
185 B
Text
Raw Normal View History

#! env bash
grep 'name:' config/services.js | \
sed 's/.*name: "\(.*\)",/\1/' | \
while read service
do
pushd $service &&
nvm install &&
nvm use &&
npm install
popd
done