Browse Source

template

master
zeus 3 years ago
parent
commit
c124d7a269
  1. 27
      install/usr/share/swarmlab.io/sec/swarmlab-sec

27
install/usr/share/swarmlab.io/sec/swarmlab-sec

@ -309,7 +309,6 @@ if [ "$Wdir" == "$HOME" ]; then
EOF
fi
# you do not need to edit it - BEGIN
/bin/mkdir -p $Wdir/project
/bin/mkdir -p $Wdir/logs
@ -328,6 +327,17 @@ fi
/bin/cp -rf $SRPATH/install-vim-plugin.sh $Wdir/install-vim-plugin.sh
# you do not need to edit it - END
# ###############################
# EDIT-BEGIN
# ###############################
/bin/cp -rf $SRPATH/cls $Wdir
/bin/cp -rf $SRPATH/latex-all $Wdir/latex-all
# ###############################
# EDIT-END
# ###############################
# you do not need to edit it - BEGIN
cat << FOE > $Wdir/swarmlab-index.js
export const myApiConfig = [
@ -343,17 +353,6 @@ export const myApiConfig = [
];
FOE
# ###############################
# EDIT-BEGIN
# ###############################
#/bin/cp -rf $SRPATH/cls $Wdir
#/bin/cp -rf $SRPATH/latex-all $Wdir/latex-all
# ###############################
# EDIT-END
# ###############################
cat << EOF > $Wdir/docker-compose.yml
version: "3"
@ -392,8 +391,8 @@ services:
# #############################
- $Wdir/project:/home/docker/project
- $Wdir/$bootstrap:/usr/bin/$bootstrap
#- $Wdir/latex-all:/usr/local/bin/latex-all
#- $Wdir/docs:/home
- $Wdir/latex-all:/usr/local/bin/latex-all
- $Wdir/docs:/home
- /tmp/.X11-unix:/tmp/.X11-unix
# ###############################

Loading…
Cancel
Save