Skip to content

IPVS-AS/MMP-Backend

Repository files navigation

Industry 4.0 - Model Management Platform - Backend

The backend project of the Industry 4.0 - Model Management Platform.

To run the spring application locally, a PostgreSQL database has to be configured according to the information in the application-local.properties. A detailed documentation of the REST API can be found here or as a swagger specification here.

Install

Clone the repository

Clone the repo but make sure a valid ssh key has been set in gitlab or use https

$ git clone git@gitlab-as.informatik.uni-stuttgart.de:hirmerpl/Enpro-Industrie_4.0_Model_Management.git

go into app's directory

$ cd Enpro-Industrie_4.0_Model_Management

Build

Build the spring application

$ ./gradlew build

Run

Run the spring application locally so it is available on http://localhost:8080

$ java -jar build/libs/mmp-backend-boot.jar -Dspring.profiles.active=local

Run in production mode

Run the spring application in production mode so it uses the production database.

$ java -jar build/libs/mmp-backend-boot.jar -Dspring.profiles.active=production

Run in production mode with sample data

Run the spring application in production mode so it uses the production database and initialize the database with sample data.

$ java -jar build/libs/mmp-backend-boot.jar -Dspring.profiles.active=productionInit

For more information visit

Releases

No releases published

Packages

No packages published

Languages