All Projects → redhat-developer-demos → 12factor-app

redhat-developer-demos / 12factor-app

Licence: Apache-2.0 license
Example application that demonstrates http://12factor.net/

Programming Languages

shell
77523 projects
java
68154 projects - #9 most used programming language
Dockerfile
14818 projects

Helloworld

The slides of this presentation are available at http://bit.ly/12factors-app

To use the scripts, specify the OPENSHIFT_IP environment variable.

Example: export OPENSHIFT_IP=35.185.41.87;

Build and Deploy helloworld-service locally

  1. Open a command prompt and navigate to the root directory of this microservice.

  2. Type this command to build and execute the service:

     mvn clean compile exec:java
    
  3. The application will be running at the following URL: http://localhost:8080/api/hello/AnyName

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].