overleaf/server-ce/bin/install-services

12 lines
185 B
Bash

#! 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