Posts

SonarQube Setup Guide

 Setting up SonarQube for scanning your workspace and making it accessible over a network involves several steps. Here's a detailed guide: Prerequisites Hardware Requirements : Ensure you have a machine with sufficient resources. Minimum: 2 GB RAM, 1 CPU Recommended: 4 GB RAM, 2 CPUs Software Requirements : Java (Oracle JRE 11 or OpenJDK 11) Database (PostgreSQL, MySQL, Oracle, or MS SQL Server) SonarQube Download : Download the latest version of SonarQube from SonarQube Downloads . Step-by-Step Setup 1. Install Java Ensure Java is installed and the JAVA_HOME environment variable is set. # For Ubuntu sudo apt update sudo apt install openjdk- 11 -jdk # Verify installation java -version 2. Install and Configure the Database Install PostgreSQL (or any other supported database). # For Ubuntu sudo apt update sudo apt install postgresql postgresql-contrib # Switch to the postgres user sudo -i -u postgres # Create a...

Vaadin-Tutorials

Image
CSS Selectors The following CSS selectors can be used in stylesheets to target the various parts and states of the component. See the  Styling documentation  for more details on how to style components. ------------------------------------------------------------------------------------------------------- Accordion @Route ( "accordion-basic" ) public class AccordionBasic extends Div { //Creating a constructor public AccordionBasic () { Accordion accordion = new Accordion() ; Span name = new Span( "Deepesh Dhaundiyal" ) ; Span email = new Span( "deepeshd@kognosdata.com" ) ; Span phone = new Span( "+91 798-2600-xxx" ) ; VerticalLayout info = new VerticalLayout(name , email , phone) ; info.setSpacing( false ) ; info.setPadding( false ) ; accordion.add( "Personal Details" , info) ; Span houseAddress = new Span( "D-1 A block Janakouri" ) ; S...