CS460 Software Development: MedicalDoctor.
-
Install Netbeans IDE and the Gradle Plugin For Netbeans.
- Download the plugin file, latest version should work.
- In Netbeans, go "Tools" -> "Plugins" -> "Downloaded" -> "Add Plugins"
- Choose the download file, and accept whatever pops up.
- Click "Install".
-
Download this repository and open the project in Netbeans.
-
Install MySQL with the following configuration:
- Running locally with TCP/IP port
3306
. - Root login with password
hydrogiraffe
. - A new schema named
MedicalDoctor
. - Run the following query in the
MedicalDoctor
database:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'hydrogiraffe';
- Note: if changes to this configuration are needed, update this configuration file.
-
Run
medicaldoctor.setup.InitTestDatabase
. This will create all the necessary database tables, and insert example data for testing. -
Run
medicaldoctor.Program
to run the application. -
Login information for test users are included here.
-
- Download the plugin file, latest version should work.
- In Netbeans, go "Tools" -> "Plugins" -> "Downloaded" -> "Add Plugins"
- Choose the download file, and accept whatever pops up.
- Click "Install".
-
JavaFX SceneBuilder. You will need an oracle account.
-
MySQL. If you choose "MySQL Installer for Windows", the steps are below, else make sure you follow the key configuration changes on any other setup.
- Download and run the installer.
- Choose "Developer Default", this ensures you have everything you need. You can instead choose a custom installation. The most important ones are "MySQL Server" and "MySQL WorkBench". The rest of these steps assume the "Default". Next.
- Under "Check Requirements", click "Execute" and agree and install to whatever pops up. Next.
- Under "Installation", click "Execute". Next.
- Under "High Availability", use default "Standalone MySQL server". Next.
- Under "Type and Networking", use defaults, should be TCP/IP Port
3306
. Next. - Under "Authentication Method", use default "Strong Password Encryption". Next.
- Under "Accounts and Roles", use root password
hydrogiraffe
. It should't matter that it is a weak password, this is just for class, not production. Next. - Under "Windows Service", use default
MySQL80
service name, but uncheck "Start the MySql Server at System Startup", so it is not using resources outside of this class's development. Next. - Under "Apply Configuration", click "Execute".
- Click "Finish".
- Under "MySQL Router Configuation", leave defaults and click "finish". Next.
- Under "Connect To Server", enter the root password. Next.
- Under "Apply Configuration", click "Execute".
- Click "Finish".
- After installation is complete, open the MySQL Workbench.
- After "MySQL Connections" click the "(+)"
- Enter
MedicalDoctor
as the connection name. - Click password "Store in Vault" and enter the password and click "OK".
- Click "Create a new schema in the connected server", enter "MedicalDoctor" as the name, and click "Apply".
- Connect to the connection, and run the following query:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'hydrogiraffe';
- Logins
- Git Help
- JavaFX Help
- On Windows, start and stop the server using
.\startdb.cmd
and.\stopdb.cmd
. You must run these as administrator.