SET UP INSTRUCTIONS FOR VIRTUAL CASION 
GROUP 53.


SERVER:

This assumes some administration access to configure.

extract files to directory on server with mysql installed.

Check file permissions if on manning.
(the default umask makes .sh files unexecutable by defalt when uploaded)

If DB needs to be set up then run the following:

cd setupDB/
javac ExecSQL.java
java ExecSQL create.sql
cd ..


The create.sql can also be used from within mysql

mysql> source create.sql


add the com.mysql.jdbc.Driver to the java CLASSPATH


then:

./setupServer.sh
(if on windows... then use javac *.java )

./runServer.sh
(if on windows use  java ServerFrame )




CLIENT:
(on windows maching)


(Automated method)
run step1.exe
(extracts to c:\blackjack\  - if this is unavailable see manual method)

run build.exe

if server is on manning run manningxml.exe
if server is on localhost run localxml.exe

run rungame.exe


(Manual Method)
Unzip database.zip to folder of your choice.
Run buildGame.bat
Run runGame.exe

if server is on manning run manningxml.exe
if server is on localhost run localxml.exe
If server is neither then edit NetConfig.xml IP Address to match your server.


Manual Build:  javac *.java
Manual Run:	java BlackjackFrame



TESTING:

server:

to std output (screen) : java ServerFrame -t 
to file : 		 java ServerFrame -t >> file.txt


client:
to std output (screen) : java BlackjackFrame -t 
to file : 		 java BlackjackFrame -t >> file.txt


