Include index.html in the install and install npm modules
This commit is contained in:
parent
dcd8cb5407
commit
f11b68e213
|
@ -5,7 +5,7 @@
|
|||
# - $SV_WEB: runsvdir of webapp services
|
||||
|
||||
app=muse
|
||||
files="static muse covers admin"
|
||||
files="static muse covers admin index.html"
|
||||
services="muse muse-covers"
|
||||
|
||||
set -- $services
|
||||
|
@ -14,4 +14,5 @@ mkdir -p ${WEBAPPS}/$app
|
|||
sv stop $(printf "${SV_WEB}/%s\n" $@)
|
||||
rm -vr ${WEBAPPS}/$app/*
|
||||
cp -vr ${files} ${WEBAPPS}/$app/
|
||||
( cd ${WEBAPPS}/$app/covers && npm update )
|
||||
sv start $(printf "${SV_WEB}/%s\n" $@)
|
||||
|
|
Loading…
Reference in New Issue