Skip to content

Base setup & configuration

Oleh Astappiev edited this page Oct 16, 2023 · 1 revision

Base setup & configuration

Java JDK

  1. You need Java JDK to compile Java-code. We use Java 21 as for now.
  2. Install any Java JDK 11, for example Amazon Corretto 21

NodeJS

  1. To work with JavaScript or Styles, you will need to have NodeJS installed
  2. Download and install NodeJS (most likely you need Win64 build)
  3. To build CSS/JS files open a console and navigate to the Learnweb base directory. Run npm run build there

Tomcat

  1. To Run Java EE application, we use Tomcat 11 server.
  2. Download and unpack Tomcat 11 Core (zip file) to any location on your PC.

Download project

Through IDE

In Eclipse and IntelliJ you can use the integrated GIT client to clone and import the project.

Manually

  1. Generate your SSH key and/or add it to GitLab account https://github.com/settings/keys
  2. Go to the directory where you want to save the project
  3. Clone repository using SSH git clone [email protected]:l3s-learnweb/learnweb.git

Local properties

  1. Go to src/main/resources copy .env.example to .env
  2. Update variables according to your needs, read comments in the file

Setup your IDE

Clone this wiki locally