Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub
overleaf
Commits
bdbf2b3e
Commit
bdbf2b3e
authored
Sep 04, 2017
by
Shane Kilkelly
Browse files
check for nvm presence before using, survive abscence
parent
0e6abc60
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/install-services
View file @
bdbf2b3e
...
...
@@ -4,12 +4,12 @@ grep 'name:' config/services.js | \
sed
's/.*name: "\(.*\)",/\1/'
|
\
while
read
service
do
pushd
$service
&&
echo
"Installing Service
$service
"
&&
echo
' installing Node'
&&
nvm
install
&&
nvm use
&&
echo
' installing Dependencies'
&&
pushd
$service
echo
"Installing Service
$service
"
echo
' installing Node'
type
nvm
&&
nvm
install
type
nvm
&&
nvm use
echo
' installing Dependencies'
npm
install
popd
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment