Added deployment options for the client

- Client can be downloaded under www.cato447.tech
- Added support for numbers notated in "," and "." form
This commit is contained in:
2021-03-23 22:27:14 +01:00
parent e96708b64e
commit 43361897ff
6 changed files with 21 additions and 5 deletions

6
deployment/client/deployClient Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
cp ~/Code/ArcadeMachine/out/artifacts/Client_jar/Client.jar ~/Code/ArcadeMachine/deployment/client/package
cd /var/www/html
scp * root@server:/var/www/html/
scp files/* root@server:/var/www/html/files
ssh root@server systemctl restart apache2

View File

@@ -0,0 +1,2 @@
set /p playerName=Gebe deinen Spielernamen ein:
java -jar --module-path openjfx-11.012_windows-x64_bin-sdk\javafx-sdk-11.0.2\lib --add-modules javafx.controls TicTacToe_Client.jar playerName

3
deployment/client/startClient Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
cd ~/Code/ArcadeMachine/deployment/client
java -jar package/TicTacToe_Client.jar linux