A Java and Tomcat-based server application designed for UIL competitions, with SQLite for backend data management.
- Admin Setup: Configure competition settings and manage problems.
- Team Login: Teams can submit solutions, view scores, and download problem packets.
- Real-Time Scoring: Track scores and submissions live.
- Java Runtime Environment (JRE)
- Apache Tomcat Server
- Open a terminal or command prompt.
- Clone the repository from GitHub using the following command:
Replace
git clone <repository-url>
<repository-url>
with the URL of the repository. - Navigate to the cloned directory by running:
Replace
cd <repository-name>
<repository-name>
with the folder name of the cloned repository.
- Verify that all project files, including the preconfigured SQLite database, are present in the cloned repository.
- If the project includes a
.war
file, locate it for deployment. If not, ensure the project structure supports Tomcat deployment.
- Locate your Tomcat installation directory. If Tomcat is not installed, download it from the Apache Tomcat website and follow the installation instructions.
- Copy the
.war
file or the project folder into thewebapps
directory of your Tomcat installation.- For example:
cp <path-to-war-file> <path-to-tomcat>/webapps/
- For example:
- Start the Tomcat server:
- On Linux/Mac:
<path-to-tomcat>/bin/startup.sh
- On Windows:
<path-to-tomcat>\bin\startup.bat
- On Linux/Mac:
- Open your browser and navigate to
http://localhost:8080/<application-name>
to access the application.- Replace
<application-name>
with the name of the deployed application.
- Replace
- Confirm that the application is running successfully.
- Navigate to the setup page.
- Configure the following settings:
- Number of Teams: Set the total number of participating teams.
- Time Length: Specify the duration of the competition.
- Add Problems:
- Provide a description of the problem (question text).
- Include problem input.
- Define the expected output for each problem.
- Copy the provided admin password (default username:
admin
). - Click "Start Contest" to begin.
- Log in with the provided admin credentials (Username: admin).
- Access the following features:
- Login details for each team
- Scores: Monitor team scores.
- Submissions Page: Manage the contest by reviewing and modifying submission results.
- Use the assigned team credentials (e.g., username:
team1
). - Navigate through the following sections:
- Home:
- View current score.
- Check time left in the competition.
- Monitor the status of problems.
- Leaderboard: View team rankings in real-time.
- Submission:
- Submit solutions to problems.
- Review past submissions.
- Downloads: Download the problem packet.
- Home: