Skip to content

devBPI/ElectrePloneProxy

Repository files navigation

LibraryFindCatalogue

Stand-alone installation (see below for the Plone installation)

  • Install Flask pip install Flask
  • Launch the ElectreConnector (https://github.com/devBPI/ElectreWebservice)
  • Make sure the connexion configuration (ELECTRE_WS_URL) in /electreProxy.py is right
  • Launch the micro-server python libraryFindCatalogue.py
  • Check if the micro-server url in the notice.js file (electreProxyUrl) is correct

Tests

To test the proxy you can try the following urls:

Installation in Plone

  • Before installing the javascript part in plone, make sure the stand-alone server is up & running.
  • To install the script, remove the hideDiv, showDivSimple, showDivAjax and showDivTab functions from atos/libraryfind/browser/javascript/notice.js. Then copy paste the content of the local notice.js into atos/libraryfind/browser/javascript/notice.js
  • Make sure the electreProxyUrl variable is properly configured
  • Restart plone (./bin/client fg to enable the debug mode if needed).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published