Code Monkey home page Code Monkey logo

ezmesure-widgets's Introduction

ezMESURE Widgets

Warning
This repository is no longer maintained and has security vulnerabilities. The code is only intended to demonstrate the feasibility of integration.

This Wordpress site demonstrates how to use the ezMESURE API in order to show charts and metrics to users authenticated via Shibboleth.

Prerequisite

A recent version of Docker and Docker-Compose.

Install

Clone !

  git clone https://github.com/ezpaarse-project/ezmesure-widgets.git

Configuration

  1. Put the private key (server.key) and the certificate (server.crt) used to declare the service provider in the fédération d'identités Education-Recherche in rp/shibboleth/ssl/. NB: the private key is critical and should not be shared.

  2. Set the following environment variables :

  • APPLI_APACHE_SERVERNAME
  • APPLI_APACHE_SERVERADMIN
  • APPLI_APACHE_LOGLEVEL
  • ENTITY_ID
  • MYSQL_USER
  • MYSQL_PASSWORD
  • MYSQL_DATABASE
  1. Configure shibboleth
  make config
  1. The authentication process requires the user to be located at ezmesure-preprod.couperin.org. If working on localhost, add the following line into /etc/hosts:
127.0.0.1 ezmesure-preprod.couperin.org

Usage

  make start   # start ezMESURE Widgets
  make stop    # stop ezMESURE Widgets
  make cleanup # stop and remove all docker containers

Configure Shibboleth on Wordpress

  1. Connect to http://ezmesure-preprod.couperin.org and follow the installation instructions.

  2. Install the Shibboleth plugin and activate it

  3. Go to Shibboleth settings

Known issues

  • Mounting the wp-content directory with docker results in the impossibility to choose language upon installation.

ezmesure-widgets's People

Contributors

nojhamster avatar pseudom avatar

Watchers

Stéphane Gully avatar James Cloos avatar  avatar Thomas Porquet avatar  avatar  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.