Skip to content

Commit 4ca8713

Browse files
authored
Update README.md
1 parent 0852fc9 commit 4ca8713

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,52 @@
11
# E-Medical-System-Web-Project-Using-Spring-Boot-Security-JPA-Rest-Thymeleaf-HQL
22
Project on Bio-Medical & Hospital sector which is covering various field of this 3 sector.This project is using Spring Framework, Hibernate, JPA, Rest, JSP also with (Post-Dev Data-Science, Big-data, ML etc. ) [ for Hackathon, CSI & SIH]
3+
4+
5+
[![Build Status](https://travis-ci.org/codecentric/springboot-sample-app.svg?branch=master)](https://travis-ci.org/codecentric/springboot-sample-app)
6+
[![Coverage Status](https://coveralls.io/repos/github/codecentric/springboot-sample-app/badge.svg?branch=master)](https://coveralls.io/github/codecentric/springboot-sample-app?branch=master)
7+
[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
8+
9+
Minimal [Spring Boot](http://projects.spring.io/spring-boot/) sample app.
10+
11+
## Requirements
12+
13+
For building and running the application you need:
14+
15+
- [JDK 1.8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
16+
- [Maven 3](https://maven.apache.org)
17+
18+
## Running the application locally
19+
20+
There are several ways to run a Spring Boot application on your local machine. One way is to execute the `main` method in the `de.codecentric.springbootsample.Application` class from your IDE.
21+
22+
Alternatively you can use the [Spring Boot Maven plugin](https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-maven-plugin.html) like so:
23+
24+
```shell
25+
mvn spring-boot:run
26+
```
27+
28+
## Deploying the application to OpenShift
29+
30+
The easiest way to deploy the sample application to OpenShift is to use the [OpenShift CLI](https://docs.openshift.org/latest/cli_reference/index.html):
31+
32+
```shell
33+
oc new-app codecentric/springboot-maven3-centos~https://github.com/codecentric/springboot-sample-app
34+
```
35+
36+
This will create:
37+
38+
* An ImageStream called "springboot-maven3-centos"
39+
* An ImageStream called "springboot-sample-app"
40+
* A BuildConfig called "springboot-sample-app"
41+
* DeploymentConfig called "springboot-sample-app"
42+
* Service called "springboot-sample-app"
43+
44+
If you want to access the app from outside your OpenShift installation, you have to expose the springboot-sample-app service:
45+
46+
```shell
47+
oc expose springboot-sample-app --hostname=www.example.com
48+
```
49+
50+
## Copyright
51+
52+
Released under the Apache License 2.0. See the [LICENSE](https://github.com/codecentric/springboot-sample-app/blob/master/LICENSE) file.

0 commit comments

Comments
 (0)