LaBuenaPinta is an manage beers shop desktop java organizer made for the subject Software Engineering of Software Engineer Bachelor's Degree at Universidad Complutense Madrid.
The documentation has been written in spanish because of a language constraint in the assignment for the subject as some classes at the code.
LaBuenaPinta uses mariadb 10.3, Java 8 and JUnit 5; these tools are necessary to run the application.
Once you've installed mariadb 10.3, launch MySQL client, create a user with manager as username and manager-if as password. After that, run the following command:
CREATE DATABASE labuenapinta
LaBuenaPinta is the name of the database.
Create a new user:
CREATE USER 'manager'@'localhost' IDENTIFIED BY 'manager_if';
Set privileges for the user created:
GRANT ALL PRIVILEGES ON * . * TO 'manager'@'localhost';
FLUSH PRIVILEGES;
Go to /bin directory:
{INSTALLATION PATH}/bin
If you are in MariaDb terminal: (keys) Ctrl + C
mysql -u manager -p LaBuenaPinta < {PATH}/labuenapinta-create-db.sql
Insert the password manager_if
.
this imports an existing database with a valid structure for labuenapinta.
E-R Diagram
Equipo de Trabajo:
--> Manuel Monforte
--> Pablo Agudo
--> Daniel Fidalgo
--> Eduardo Martínez