mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2026-10-06 12:01:23 +02:00
Fixing branch setup to match main
This commit is contained in:
19
Projekte/battleship/run.sh
Normal file
19
Projekte/battleship/run.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Starts two clients and the server
|
||||
|
||||
# export JAVA_OPTS="-Duser.language=fr -Duser.region=FR -Djava.util.logging.config.file=logging.properties"
|
||||
# export JAVA_OPTS="-Duser.language=en -Duser.region=US -Djava.util.logging.config.file=logging.properties"
|
||||
export JAVA_OPTS="-Djava.util.logging.config.file=logging.properties"
|
||||
|
||||
export CWD=`pwd`/`dirname $0`
|
||||
cd $CWD/..
|
||||
|
||||
./gradlew installDist
|
||||
|
||||
cd battleship/client
|
||||
build/install/battleship/bin/battleship &
|
||||
sleep 3
|
||||
build/install/battleship/bin/battleship &
|
||||
cd ../server
|
||||
build/install/battleship-server/bin/battleship-server
|
||||
Reference in New Issue
Block a user