Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 982 Bytes

File metadata and controls

32 lines (17 loc) · 982 Bytes

SchoolProject

A Spring boot application Import this Project through Spring Test Suite OR Eclipse Oxygen Using Maven Existing Dialog box.

Make Changes in Application.properties file

  1. Create Database name and Replace under the database_name column.
  2. Use your system mysql user name under the below username column.
  3. Use your mysql password against the column password.

Url to connect app with database

spring.datasource.url=jdbc:mysql://localhost:3306/YOUR_DATABASE_NAME

Credentails for accessing database from application

spring.datasource.username=USER_NAME

spring.datasource.password=PASSWORD

Now, create folder with your choice name and then replace it absoulte path below in Application.properties file

spring.applicationexternalPath.name=FOLDER_PATH_ABSOLUTE

And, same to be added in this file also /School_Project/src/main/java/com/spoken/Utility/ServiceUtility.java

static String mediaPath=FOLDER_PATH_ABSOLUTE;

School-Content-Resource-System