Skip to content

micredis/hibernetmvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hibernetmvc

A small and unassuming CRUD application (aka bookstore)

The username & password to access db are 'root' (in both cases) and can be changed by editing
src/main/resources/db.properties

To populate the database you may want to run the script:
script.sql

To run the application you can follow these steps,
assuming that you are in the application directory
(the paths should be adjusted to correspond your system):

  1. mvn clean install
  2. sudo rm -rf /opt/apache-tomcat-8.5.23/webapps/hibernet-mvc-1.0-SNAPSHOT
  3. sudo rm -rf /opt/apache-tomcat-8.5.23/webapps/hibernet-mvc-1.0-SNAPSHOT.war
  4. sudo cp ./target/hibernet-mvc-1.0-SNAPSHOT.war /opt/apache-tomcat-8.5.23/webapps/
  5. sudo /opt/apache-tomcat-8.5.23/bin/startup.sh
  6. In your browser use the path: http://localhost:8080/hibernet-mvc-1.0-SNAPSHOT/

To shutdown Tomcat you may use:
sudo /opt/apache-tomcat-8.5.23/bin/shutdown.sh
(the actual path depends on your system)

About

A small and unassuming CRUD application (aka bookstore)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages