diff options
Diffstat (limited to '.tools/deploy.sh')
-rwxr-xr-x | .tools/deploy.sh | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.tools/deploy.sh b/.tools/deploy.sh new file mode 100755 index 00000000..7184f4b8 --- /dev/null +++ b/.tools/deploy.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +source ./.tools/init.sh + +clientdata_init + +aptget_update +aptget_install git-core zip gcc zlib1g-dev ca-certificates libxml2-utils python +rm -rf tools +gitclone https://gitlab.com/evol evol-tools.git tools + +cd clientdata +rm -rf public +mkdir public + +cd .. + +rm -rf music +gitclone https://gitlab.com/evol evol-music.git music + +cd tools/update + +./createnew.sh +check_error $? +./create_music.sh +check_error $? + +cp -r upload/* ../../clientdata/public +cd ../../clientdata +gitclone https://gitlab.com/4144 pagesindexgen.git pagesindexgen +cd pagesindexgen +./pagesindexgen.py ../public +check_error $? +ls ../public |