GithubHelp home page GithubHelp logo

launcher's Introduction

launcher

This app is developed using the OAuth2 implementation of Spring Security (https://projects.spring.io/spring-security-oauth/docs/oauth2.html).

Configure

In order to deploy the demo application, you need to configure a number of parameters in the configuration file. Some of those parameters are endpoint URLs of your IdP. Additionally, you need to create your client application in your IdP and configure the client_id and client_secret.

Build

The build process to compile the source code is based in Apache Maven. To create the war file, go to the folder where you cloned the repository and run:

mvn clean package

Run

JAR

It runs as a JAR application

java -jar launcher.jar

To override some properties add them to the command line:

java -jar launcher.jar --server.port=8081

Spring Boot

To build and run the code, in the folder where you cloned the repository, run:

mvn spring-boot:run

To override some properties add them to the command line:

mvn spring-boot:run -Dspring-boot.run.arguments="--app.homedir=/var/opt/identicum/launcher"

Docker

The app can run a as Docker container. Dockerfile and instructions documented here

Initial dataset

When the app starts and there is no data, it tries to find a file with initial dataset under ${app.homedir}/data.json. There is a sample file here.

The default value for ${app.homedir} is /var/opt/identicum/launcher. Remember you can also override this property value at runtime.

Loading properties from external file

You can store launcher properties in an external file and then reference this file with environment variable before starting the application:

export SPRING_CONFIG_ADDITIONAL_LOCATION=/var/opt/identicum/launcher/customer.properties
java -jar launcher.jar

launcher's People

Contributors

ggallard avatar chupetoide avatar francojulianb avatar dependabot[bot] avatar

Watchers

James Cloos avatar Ezequiel Sandoval avatar  avatar

launcher's Issues

Role ruplicado

Al agregar role a link existente, al recargar la pagina se ve duplicado. Si se sale de la pagina y vuelve a entrar ya no aparece.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.