Getting SiCom up and running on your local machine takes fewer than ten minutes. You will clone the repository, create a MySQL database, update the JPA connection properties, build all four Maven modules with a single command, and drop the resulting WAR into Tomcat. By the end you will have a fully functional rental management system accessible in your browser.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dinogamer089/SiCom/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin, make sure the following tools are installed and available on yourPATH:
- Java 21 (JDK, not JRE) — required by all four Maven modules
- Maven 3.9+ — used to build the multi-module project from the repo root
- MySQL 8+ — the relational database backend
- Apache Tomcat 10.1+ — the target servlet container; earlier versions do not support the Jakarta EE 10 namespace
Steps
Clone the repository
Clone the SiCom source repository to your local machine:The repository root contains the parent
pom.xml and four subdirectories: entidad/, persistencia/, negocio/, and vista/.Create the MySQL database
Log in to your MySQL 8 server and create the Then run the full DDL migration script to create all tables, indexes, and foreign keys. See Database Setup for the complete SQL file and a description of every table.
sicom (or desarrollo) database:Configure persistence.xml
Open Change
persistencia/src/main/resources/META-INF/persistence.xml and update the JDBC connection properties to match your environment:localhost:3307 to your MySQL host and port, and replace root / bnleon19 with your actual credentials. The database name in the URL must match the schema you created in the previous step.Build all modules
From the repository root, run a full clean build. Maven will compile and install the four modules in dependency order — A successful build prints
entidad first, then persistencia, negocio, and finally vista:BUILD SUCCESS and places the deployable archive at vista/target/vista.war. If compilation fails, verify that JAVA_HOME points to a Java 21 JDK and that your Maven settings.xml can reach Maven Central.Deploy to Tomcat
Copy the WAR file to your Tomcat Tomcat will automatically unpack and deploy the application. Once startup completes, open your browser and navigate to:Tomcat will redirect you to the login page (
webapps/ directory, then start (or restart) Tomcat:AutenticacionUsuario.xhtml).Log in
The welcome file configured in
web.xml is AutenticacionUsuario.xhtml. Enter your administrator email and password to access the admin dashboard, or your employee credentials to reach the employee rental view.- Administrator → redirected to
principalAdministrador.xhtml - Employee → redirected to
RentasEmpleado.xhtml
administrador table or use the bootstrap endpoint described in Administrator Role.What’s Next
Architecture
Learn how the four Maven modules are layered and how a request flows from XHTML to MySQL.
Article Catalog
Add categories, upload article images, and manage stock levels.
Database Setup
Full DDL script, table descriptions, and migration guidance.
Administrator Role
Permissions, available views, and initial account creation.