summaryrefslogtreecommitdiff
path: root/.tools/deploy.sh
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 23:20:09 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 23:20:09 -0300
commit4903d41b99555c45be569de1c20ba4035854c888 (patch)
tree3a9a75e59f45ef9e415b50e28af89fd2fc56bd34 /.tools/deploy.sh
downloadclientdata-4903d41b99555c45be569de1c20ba4035854c888.tar.gz
clientdata-4903d41b99555c45be569de1c20ba4035854c888.tar.bz2
clientdata-4903d41b99555c45be569de1c20ba4035854c888.tar.xz
clientdata-4903d41b99555c45be569de1c20ba4035854c888.zip
Reinitialized git repository with Evol2 support
Major changes: - Makefile - Gitlab CI - Network update - Char Creation update
Diffstat (limited to '.tools/deploy.sh')
-rwxr-xr-x.tools/deploy.sh34
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