README.md 1.59 KB
Newer Older
Karakas's avatar
Karakas committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Before you start this application

1. You have to install Maven:

   1. Have a JDK installation on your system. Either set the JAVA_HOME environment variable pointing to your JDK installation or have the java executable on your PATH.
   2. Download zip from here [https://maven.apache.org/download.cgi]
   3. Extract distribution archive in any directory
   4. Unzip apache-maven-3.9.7-bin.zip
   5. Add the bin directory of the created directory apache-maven to the PATH environment variable.
   6. Confirm with ```mvn -v``` in a new shell. The result should look similar to

      ```Apache Maven 3.9.7 (8b094c9513efc1b9ce2d952b3b9c8eaedaf8cbf0)
      Maven home: /opt/apache-maven-3.9.7
      Java version: 1.8.0_45, vendor: Oracle Corporation
      Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac"```

2. You have to install node

   1. Download the installer here [https://nodejs.org/en/download/prebuilt-installer]
   2. Click through the installer
   3. Confirm with ```node -v``` in a new shell. The result should look similar to ```v20.14.0```
   4. Confirm with ```npm -v```. The result should look similar to ```10.7.0```

EnesKarakas's avatar
Done    
EnesKarakas committed
26
## How to start this application
EnesKarakas's avatar
EnesKarakas committed
27

EnesKarakas's avatar
Done    
EnesKarakas committed
28
29
30
31
32
33
34
1. Open up a terminal
2. Type: ./mvnw spring-boot:run
3. Open up another terminal
4. Type: cd frontend
5. If running for the first time
   Type: npm install
6. Type: npm run start (dev) / npm run build (production)
EnesKarakas's avatar
EnesKarakas committed
35

EnesKarakas's avatar
Done    
EnesKarakas committed
36
## How to stop this application
EnesKarakas's avatar
EnesKarakas committed
37

EnesKarakas's avatar
Done    
EnesKarakas committed
38
39
40
1. Go to both Terminals
2. Press Ctrl + C
3. Type: j