Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Setup

For the this template you need to install

  1. Java 21
  2. VsCode
  3. Maven
  4. Git

on your computer.

WINDOWS
  • First, install Chocolatey for easier package and Software installation:

    • open powershell as administrator (right-click: open as administrator) and run:
      Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
    • Once the installation is completed, close the Powershell (Admin) or Terminal (Admin) and open it again and run the following commands:
  • Temurin 21

    • via Chocolatey (recommended):
      choco install Temurin21
  • Visual Studio Code

    • via chocolatey (recommended):
      choco install vscode
  • VSCode Java extension pack

  • Maven

  • Git

  • If you used chocolatey for installation, you can use the command

    choco list
  • if all installations worked, the output should look like this:

    maven 3.9.9
    Temurin21 21.0.0
    vscode 1.95.2
    vscode.install 1.95.2
    git 2.49.0
MACOS
  • Homebrew (If wanted)

    • If wanted you can use homebrew to complete the following installation steps. Homebrew is a unofficial package manager for macOS, which should help you with installing new software on your system. To get started with homebrew just paste the following command inside your terminal window:
      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
      
  • Java 21

    • via brew:
      brew install --cask temurin
      
  • Visual Studio Code

  • VSCode Java extension pack

  • Maven

    • Either manually using these setup instructions: Maven - Installing
    • Or via brew:
      brew install maven
      
  • Git

UBUNTU

Setup VsCode (do not skip this step!)

  1. Click on the "Extension" Icon in the left panel

  2. search for java extension pack in the search field click on the first entry (NOTE: check that the distributor is MICROSOFT and no-one else) and click on the Install button to installer the extension pack. Wait until all extensions are installed.

You can check if your installations of java and maven were successful by typing

mvn --version

into your local terminal.

Using this repo

  1. In GitHub: Click on "Use this template", blue button top right. Choose "Create a new repository" and enter a sensible name.

  2. After your new repo opens, click on "<> Code", blue button top right. Copy the Web URL.

  3. Open VSCode, Press Crtl + Shift + E, choose "Clone Repository" and enter the copied URL into the field at the top of the IDE. Choose a local folder and open the folder.

  4. Trust the authors and Open Terminal -> New Terminal.

  5. enter mvn test to run the tests in the repo.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages