summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh19
-rw-r--r--static/index.html2
2 files changed, 20 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..17212dc
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+cargo build --release
+
+sudo systemctl stop skal-server
+sudo cp target/release/skal_server /opt/skal_server/skal_server
+sudo cp -R static/*html /opt/skal_server/static
+sudo chmod +x /opt/skal_server/skal_server
+
+sudo systemctl restart skal-server
+sudo systemctl status skal-server
+curl -X POST "https://www.taar-o.com/api/echo?name=ProdTest"
+
+echo
+echo
+echo " === RELAUNCH NGINX ==="
+echo
+sudo nginx -t
+sudo systemctl reload nginx
diff --git a/static/index.html b/static/index.html
index 393be43..ded1da3 100644
--- a/static/index.html
+++ b/static/index.html
@@ -320,7 +320,7 @@ function go() {
</div>
</div>
<div id='infoText'>
- (c) MASSIMINO Pascal - Metaskal.com
+ (c) 2026 - www.metaskal.com
</div>
</body>
</html>