These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
JDK 11
Docker
Before run the application , we should set up the container for pgAdmin and Postgresql by running the following command
docker-compose up
Open localhost:{PORT} in browser (default port 8002). You can customise the {PORT} in docker-compose.yml, line 24 as following:
ports:
- <PORT>:80
environment:
PGADMIN_DEFAULT_EMAIL: {EMAIL}
PGADMIN_DEFAULT_PASSWORD: {PASSWORD}
create a new server by entering postgresql in host name/address area, username postgres and password admin. You can customise email and password in docker-compose.yml.
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER={username}
- POSTGRES_PASSWORD={password}
In this project, we use CheckStyle for static code analysis.
Install it to IDEA by opening Preferences -> Plugins, then search CheckStyle in marketplace and install.