Vlad Raileanu (@rokuban) · Vittorio Robecchi (@victuarvi)
To run the project you need to install all the dependencies – which are for the most part managed of by Maven – and configure MariaDB.
There are already included Tomcat configuration that:
- Test the database connection (according to the default one)
- Build the artifacts
- Deploy the server
There is one for the HTML subproject and one for the RIA1.
Tip
Look in the documentation: the process is meticulously described.
Start MariaDB:
sudo systemctl start mariadb
Then access MariaDB console:
sudo mariadb
and create the database:
CREATE DATABASE db_name;
# add privileges
GRANT ALL PRIVILEGES ON db_name.* TO `user`@'hostname';
exit;
Note
The project assumes the user tiw@localhost
is accessing the tiw
database. If needed, change the src/main/webapp/WEB-INF/web.xml
file in the desidered subproject.
And finally load the SQL file:
mariadb --user NAME --password < *.sql
where NAME
= user from the step before.
- Java
- IDE: JetBrains IntelliJ Idea Ultimate Edition (website)
- Java JDK: OpenJDK (
openjdk-24
, website) - Build tool: Apache Maven
- Documentation: Javadoc, Jsdoc
- Web development
- Jakarta Servlet: Apache Tomcat
- Template engine: Thymeleaf
- Typescript
- Typesetting: typst
- Diagrams: draw.io for ER, yFiles for UML (integrated in IntelliJ) and ifml edit for IFML
- DBMS: MariaDB
Footnotes
-
It's called JS for legacy purposes; its folder too. ↩