Code Monkey home page Code Monkey logo

hesperides's Introduction

Hesperides Back

Hesperides is an open source tool generating content from a template file (using mustache) in a given environment.

Go to https://github.com/voyages-sncf-technologies/hesperides-gui to handle hesperides frontend.

❗ ❗ ❗

The project is currently being rework

See branch feature/springboot for the new version under construction

See branch master for the production version

❗ ❗ ❗

Requirements

  • Java 8 (openjdk, sun)

Choose between:

  • Docker (see docker-compose & Dockerfile files)

And :

  • MongoDB

Build

Build the whole project:

mvnw package

Build Docker image

docker build . -t hesperides/hesperides

Run

Some variables are set as environment variables:

  • SPRING_PROFILES_ACTIVE

  • LDAP_URL

  • LDAP_DOMAIN

  • LDAP_USER_SEARCH_BASE

  • LDAP_USERNAME_ATTRIBUTE

  • LDAP_CONNECT_TIMEOUT

  • LDAP_READ_TIMEOUT

  • MONGO_HOST

  • MONGO_PORT

  • SPRING_BOOT_ADMIN_URL

See boostrap/src/main/resources/application.yml

Run backend via Docker

docker-compose -f docker-compose-[BACKEND].yml up -d

Run backend manually

java -jar bootstrap/target/hesperides.jar

Run backend using Docker

docker run -d [-e ENV_VAR=ENV_VALUE] -p 8080:8080 --network hesperides_hesperides-network hesperides/hesperides

Run without ldap or mongodb

java -jar bootstrap/target/hesperides.jar -Dspring.profiles.active=noldap,fake_mongo

Documentation

Available online at https://voyages-sncf-technologies.github.io/hesperides-gui/

License

Hesperides is licensed under the GPL V3 license

Contributing

Do you have changes to contribute? Please see the CONTRIBUTING page. We are open to pull requests. Please first discuss your intentions via Issues.

This project includes a postman collection, check documentation/postman folder.

hesperides's People

Contributors

auff avatar emeric-martineau avatar hesperides-adm avatar jordankergoat avatar lucas-c avatar nboury-vsct avatar stidiovip avatar sylvain-maillard avatar thomaslhostis avatar victorsalaun avatar vrenaudeau avatar

Watchers

 avatar

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.