Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 616 Bytes

USAGE_GUIDE.md

File metadata and controls

37 lines (24 loc) · 616 Bytes

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 #, 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