Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.94 KB

README.md

File metadata and controls

27 lines (23 loc) · 1.94 KB

music-store

Online Website built using Maven, implementing Spring and Hibernate

To Run this file,

  1. Download Eclipse, Apache Tomcat and H2
  2. Make sure Java and JDK is installed
  3. Import Project Directly to Eclipse by:
    • 'Help > Install New Software > All Avaliable Sites > Web, XML, JavaEE > Install' then Restart
    • Make git repository view visible in Eclipse from the menu 'Window > Show views > Other > Git > Git Repositories'
    • Click on 'Clone a Git repository'
    • Give Source as https://github.com/Deepak710/music-store.git
    • Give the directory where the project is to be cloned. Make sure to check the box 'Import all existing Eclipse project after clone finishes'
    • 'Properties > Java Build Path > Libraries > JRE System Libraries > Edit > Alternate JRE' and give the path to Java JDK instead of JRE important
  4. Run Queries.sql on H2 in a database called musicstore
    • Run H2 Console
    • Change saved settings to 'Generic H2 Server'
    • Change JDBC URL to 'jdbc:h2:tcp://localhost/~/musicstore'
    • If database name [or] username/password needs to be changed, make sure to reflect the changes in 'MusicBack > src > main > java > DMB > PRJ > MusicBack > config > HibernateConfig.java'
  5. Run the project on Tomcat Server in Eclipse
    • 'Windows > Preferences > Server > Runtime Environments > Add... > Apache Tomcat v9.0'
    • Browse for the install directory of Tomcat

Features:

  • Get the Project report here

Contact Me: Telegram