-
-
Notifications
You must be signed in to change notification settings - Fork 345
Expand file tree
/
Copy pathnpm-install.sh
More file actions
executable file
·36 lines (30 loc) · 736 Bytes
/
npm-install.sh
File metadata and controls
executable file
·36 lines (30 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
echo ######################################
echo "Setting up popular plugins."
echo "Additional will need npm install manually."
echo ######################################
cd $(dirname $0)
git submodule init
git submodule update
for directory in sdk server common packages/client packages/auth-fetch
do
echo "$directory > npm install"
pushd $directory
npm install
popd
done
pushd sdk
echo "sdk > npm run build"
npm run build
popd
pushd external/werift
echo "external/werift > npm install"
npm install
popd
for directory in rtsp ffmpeg-camera amcrest onvif hikvision reolink unifi-protect webrtc homekit
do
echo "$directory > npm install"
pushd plugins/$directory
npm install
popd
done