Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 832 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 832 Bytes

MenagerPilkarski

Football manager (teams, football players, matches, stadiums). Adding, deleting, editing.
Project for database subject on Poznań University of Technology

Techonology

Backend in Java. Spring boot, Hibernate, MySql.

Frontend in separate project(propably in AngularJS)

Requirements

  • JDK 8
  • GIT
  • Maven
  • MySQL Database
  • MySQL Workbench (optional but recommended for managing)

Setting up database

  1. create schema meneger_pilkarski
  2. create user meneger with password: mpilkarski123#
  3. grant him all privs in schema meneger_pilkarski

To Run

  1. clone from github
  2. cd $clone_dir
  3. mvn flyway:migrate
  4. mvn clean package && java -jar target/MenegerPilkarski-${version}.jar

Updating local database:

  1. mvn flyway:clean
  2. mvn flyway:migrate