- 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 Project
in the your IDE.
- Configure database:
- Run the
bookworm.sql
script.
- 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
Finish
Button. -
Now, you can see the maven project in eclipse.
-
Right click on project to open context menu.
-
Select
Run as
option. -
Then select
Maven Build
option. Maven will start building the project. -
An
Edit Configuration
window will open. In this, setGoals
astomcat7:run
. Click onApply
and thenRun
. -
Once the server loads, hit the following URL :
http://localhost:8080/bookstoremanagement/home
in your browser. (assuming your server port is 8080, if not change it accordingly.)
And you are all set to buy
, search
and sell
books!