Website about different sports and these leagues
- Backend: Spring Framework
- Frontend: Angular
- Database: MySQL
-
To clone the project to your local folder write next in terminal:
git clone https://github.com/Anastasiia-Rokytska/sports_hub_portal.git
-
Create the database
sporthubportal
in your MySQL workbench\terminal -
Configure your
application.properties
file by next:a)
server.port
- launch port of website, default it is8080
or8000
b)
spring.datasource.username
- your username in MySQL workbench\terminalc)
spring.datasource.password
- your password in MySQL workbench\terminal -
Create the spring boot configuration in your Java IDE
-
Run the project in your IDE
-
View the website by the http://localhost:8000 (or another port, which you've written in application.properties)
- If you don`t have Docker installed , you can do it from link: https://www.docker.com/get-started/
- Open project and run next command in terminal:
docker-compose up
- View the website by the http://localhost:8000
Don`t forget to remove the containers with the following command:
docker-compose down