@@ -0,0 +1,529 @@
+#!/usr/bin/env python3%0A# -*- coding: utf-8 -*-%0A%0Aimport os, sys%0A%0Aif (len(sys.argv) == 1):%0A    print(%22Usage: 'python3 deploy.py %3Cserver_path%3E'%22)%0Aelse:%0A    path = sys.argv%5B1%5D + %22src/main/webapp%22%0A    filename = %22tmp.tar.gz%22%0A    os.system(%22tar -zcvf %25s tmp/%22 %25 filename)%0A    os.system(%22mv tmp.tar.gz %25s%22 %25 path)%0A    os.system(%22tar -zxvf %25s/%25s --directory=%25s --strip-components 1%22 %25 (path, filename, path))%0A    os.system(%22rm %25s/%25s%22 %25 (path, filename))%0A    os.system(%22mv %25s/index.html %25s/WEB-INF/templates/tickets.html%22 %25 (path, path))%0A

Add deploy script