- Download and install MySQL database
- Search for the proper installer based on your operating system
- Run MySQL
- Run under default port
3306
- Run under default port
- Create user
corsys
, databasecorsys_dev
and grant all privileges on databasecorsys_dev
to usercorsys
- To do this, open MySQL shell under root privileges (*nix)
mysql> CREATE USER 'corsys'@'localhost' IDENTIFIED BY 'password';
mysql> CREATE DATABASE corsys_dev;
mysql> GRANT ALL PRIVILEGES ON corsys_dev.* TO 'corsys'@'localhost';
Note: Set password exactly to string 'password'
- Run create script on
corsys_dev
database- This script will fill in our database with empty tables required by our application
mysql -u corsys -p -h localhost corsys_dev < create_script.sql
- Run insert script on
corsys_dev
database- This script will fill in our generated tables with testing data
mysql -u corsys -p -h localhost corsys_dev < insert_script.sql
- Download and install Java SE Runtime Environment 8
- Run
corsys.jar
java -jar corsys.jar
- Open localhost:8080 in web browser
- Log in with credentials
You can log in to the application under these test credentials:
Note: you will be logged in as a receptionist
- Username: olga.kubova
- Password: password
You can use this test patient account for creating reservation:
- Username: lubomir.vavra
Note: you can test creating reservation, listing all reservations and adding a new patient
Note: for the purpose of testing of creating a new reservation, please pick only from dates in the range 26.11.2018-29.11.2018 (available test data in DB)