##McGill Fall 2015 - ECSE321 Team 7 Group Project
SocScore is a multi-platform soccer scoring system, written in Java.
This software system is subdivided into four sections:
- Framework
- Web App
- Android App
- JavaSwing App
####Framework
The framework is written purely in Java 7, and encapsulates all the control and model aspects of the respective applications. The JAR is located here, and is used in all other applications. The source code can be found here.
The web application is written in PHP, and uses a special server system called Quercus, which allows for the use of java classes and methods directly in PHP code. Though Quercus can be installed in any Java server (i.e. Tomcat), we recommend using Resin, as it implements this technology natively.
Installation Guide
- Download Resin, and extract the tar.gz file.
- Using your terminal, navigate to the folder extracted from the download.
- Run
./configure
, followed bymake
andmake install
(if those last two commands don't work, then it's they aren't necessary) - Copy the following files in the following locations
- Copy all files in this repo's
lib/XStream folder
toYOUR_RESIN_FOLDER/webapp-jars
- Copy the file
build/lib/socscore-framework.jar
toYOUR_RESIN_FOLDER/webapp-jars
- Create a new folder in
YOUR_RESIN_FOLDER/webapps
calledSocScore
, and copy all contents fromsrc/com/SocScore/web
to that folder you just created.
- Copy all files in this repo's
- Then from the main Resin folder in terminal, run
bin/resin.sh start
to initialize the server. - You will then be able to access the web-application by navigating to htpp://localhost:8080/SocScore/
- When you are done, you can shut down the server using the command
bin/resin.sh stop
Installation Guide
The app apk is located here. Download it and run it directly on an android device or you can run it on an emulator available online such as bluestacks. The source code of the android app is accessible from here.