khawkins98 / EMBL-EBI-Live-data-map

The EMBL-EBI Live Data Map shows utilisation of various services.

Home Page:http://www.ebi.ac.uk/web/livemap/live-data-map.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EMBL-EBI-Live-data-map

The EMBL-EBI Live Data Map shows utilisation of various services.

View the map

For usage guidance, view the source of https://www.ebi.ac.uk/web/livemap/live-data-map.html

Developing locally?

There are two aspects to the map, the web interface (HTML, CSS, JS) and the backend processing of the requests to EBI data resources (PHP).

To develop the latter, you'll need not only PHP but also be on the EBI network.

With that in mind there are two development scenarios.

  1. You're on the EBI network and have PHP:
  • php -S localhost:8000
  • open http://localhost:8000/live-data-map.html
  1. You're outside the EBI network and only want to develop the web interface
  • You won't see any live data, but you'll be able to test the map and query parameters
  • You'll be using Browsersync:
  • npm install -g browser-sync
  • browser-sync start --server --index live-data-map.html --port 5000 --watch -f '*'

About

The EMBL-EBI Live Data Map shows utilisation of various services.

http://www.ebi.ac.uk/web/livemap/live-data-map.html


Languages

Language:HTML 44.2%Language:JavaScript 39.5%Language:PHP 9.7%Language:CSS 6.5%