-
Notifications
You must be signed in to change notification settings - Fork 1
(EN) Installation
Set the environment variables for MAVEN_HOME
to C:\Program Files\apache-maven-3.8.1
Go into the root part of the project and install the dependencies via mvn install
.
Add the environment variables in Path to C:\Program Files\nodejs\
Downgrade to the correct npm version: npm install -g [email protected]
First under Run click on Edit Configurations:
Create a new application with the name Kobit-APIGateway:
Add the path to your JAVA JRE 11:
Then fill with JAVA main class as followsde.muenchen.kobit.ApiGatewayApplication
Add the Spring profile -Dspring.profiles.active=local
with Modify Options and Add VM options:
Set the working directory to the entire frontend: C:\user\your_username\projects\kobit\kobit-frontend
Finally add the following environment variables:
For SSO:
BACKEND_URI_PREDICATE=/api/kobit-backend-service/**;
BACKEND_URI_REWRITE_PATH=/api/kobit-backend-service/(?<urlsegments>.*), /$\{urlsegments};
CLIENT_ID=YOUR_SSO_CLIENT_ID;
KEYCLOAK_URI=YOUR_KEYCLOAK_URI;
KEY_URI=YOUR_SSO_KEY_URI;
SSO_URI=YOUR_SSO_URI;
REALM=YOUR_REALM;
For Database:
DATABASE_ADDRESS=YOUR_DATABASE_ADDRESS;
DATABASE_USERNAME=YOUR_DATABASE_USERNAME;
For AWS S3 Bucket:
AWS_S3_BUCKET_NAME=YOUR_AWS_S3_BUCKET_NAME;
AWS_S3_ACCESS_KEY=YOUR_AWS_S3_ACCESS_KEY;
AWS_S3_SECRET_KEY=YOUR_AWS_S3_SECRET_KEY;
AWS_S3_HOSTNAME=YOUR_AWS_S3_HOSTNAME;
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
Customize configuration : See Configuration Reference.