diff --git a/README.md b/README.md new file mode 100644 index 0000000..c71d44a --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# FilmFlix +> Florian CHARLAIX - Pierre WATTEAU | DevOps 1 + +## Database Setup +Create database tables with the file `example.sql` + +Copy the file `hibernate-example.cfg.xml` to `hibernate.cfg.xml` in `resources` folder and replace database login values. diff --git a/src/main/resources/hibernate-example.cfg.xml b/src/main/resources/hibernate-example.cfg.xml new file mode 100644 index 0000000..79970e6 --- /dev/null +++ b/src/main/resources/hibernate-example.cfg.xml @@ -0,0 +1,29 @@ + + + + + + + org.hibernate.dialect.MariaDBDialect + + + + org.mariadb.jdbc.Driver + + + + + + jdbc:mariadb://localhost:3306/DATABASE + + + + USER + + + + PASSORD + + + \ No newline at end of file