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:
6
deployment/client/deployClient
Executable file
6
deployment/client/deployClient
Executable 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
|
||||
2
deployment/client/package/startClient.bat
Normal file
2
deployment/client/package/startClient.bat
Normal 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
3
deployment/client/startClient
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd ~/Code/ArcadeMachine/deployment/client
|
||||
java -jar package/TicTacToe_Client.jar linux
|
||||
Reference in New Issue
Block a user