Simplifying launch for production server

This commit is contained in:
Marwolf
2018-07-15 20:01:30 -04:00
parent 4dfecd3223
commit 19d652c42d
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash
echo "Launching in a new window. Type 'screen -r' to view the live server screen."
echo "Use CTRL + A + D to detach the live server screen."
echo ""
screen -dmS name ./ant_launcher.sh

17
ant_launcher.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
echo "Pulling recent updates from the Open-RSC Game repo"
sudo make pull
echo ""
echo ""
#Compile
echo "Compiling the game server"
echo ""
echo ""
sudo Ant/bin/ant -f Game/server/build.xml compile
#Run game server
echo "Launching the game server"
echo ""
echo ""
Ant/bin/ant -f Game/server/build.xml runserver