Skip to content

Configuration management tool providing universal text file templating and properties editing through a REST API or a webapp (frontend part)

License

Notifications You must be signed in to change notification settings

sncf-connect-tech/hesperides-gui

Repository files navigation

Lint, test and publish

Hesperides frontend

Hesperides is an open source tool generating configuration files from a given template with mustaches and the properties it stores per environment.

The backend lives in this repo: https://github.com/voyages-sncf-technologies/hesperides.

Development status: this project is currently maintained by e-Voyageurs SNCF.

Live demo

https://hesperides.herokuapp.com

Credentials for the Basic Auth:

  • Username: user or prod
  • Password: password

Documentation

The user manual is contained in the docs/ directory, and available online here: https://voyages-sncf-technologies.github.io/hesperides-gui/

Technical documentation can be found in CONTRIBUTING.md and the tech_docs/ directory.

Changelog

All the last features & fixes are listed there: CHANGELOG.md.

Build

$ npm install

Run

$ npm start

It should launch a server available at http://localhost:80 using a backend on http://localhost:8080

Tests

Linter:

$ npm run lint

Unit tests:

$ npm test

End-to-end tests :

$ npm start
$ npm run webdriver-start
$ npm run bdd-tests

Si la commande npm run webdriver-start renvoie une erreur de type Error: Invalid filename: [...]/hesperides-gui/node_modules/webdriver-manager/selenium/chromedriver_111.0.5563.64.zip, il suffit de télécharger la version demandée de ChromeDriver et de la copier-coller dans le répertoire indiqué, puis de relancer la commande.