First clone the repository onto a local folder:
git clone https://github.com/S3BzA/Sakila/
Then compile and run the program using the ANT build system and Java 17:
ant run
Note the following environment variables need to be defined:
dvdrental_DB_PROTO
: The database protocol (onlyjdbc:mariadb
supported)dvdrental_DB_HOST
: The address of the databasedvdrental_DB_PORT
: The port where the DBMS is hosted (optional)dvdrental_DB_NAME
: The name of the databasedvdrental_DB_USERNMAE
: The database userdvdrental_DB_PASSWORD
: The password for the user