- Clone the this git repository using the steps mentioned on the link below:
https://help.github.com/articles/cloning-a-repository/. - Once the repository has been cloned, import it as a
Maven Projectin the your IDE.
- Configure database:
- Run the
bookworm.sqlscript.
- Configure project:
-
Open
Eclipse. -
Select
File > Import > option. -
Select Maven Projects Option. Click on Next Button.
-
Select Project location, where you have cloned this git repository.
-
Click
FinishButton. -
Now, you can see the maven project in eclipse.
-
Right click on project to open context menu.
-
Select
Run asoption. -
Then select
Maven Buildoption. Maven will start building the project. -
An
Edit Configurationwindow will open. In this, setGoalsastomcat7:run. Click onApplyand thenRun. -
Once the server loads, hit the following URL :
http://localhost:8080/bookstoremanagement/homein your browser. (assuming your server port is 8080, if not change it accordingly.)
And you are all set to buy, search and sell books!