Skip to the content.

Usage Guide

Run project

Start your MySQL server:

sudo service mysql start

Run the application:

mvn exec:java -Dexec.mainClass=com.github.creme332.App

Auto-login

To automatically login without going through registration or sign in, make the following modifications to model/AppState.java:

    private UserType autoLogin = UserType.LIBRARIAN; // or UserType.PATRON to login as patron

Run tests

mvn test

Export database

To export the database using mysqldump (v10):

mysqldump -u root -p --databases  biblionex > db/biblionex.sql