@datopian/edp

1.6.1 • Public • Published

Energi Data Portal

Contributing

EDP is a theme for frontend-v2 express js app with additional subcomponents from other repositories.

Content Management

TODO: links to CMS and CMS docs in google drive.

Subcomponents

Build Report

A react application for /build-report page. See update-build-report.sh for more info on how it's built.

Metadata search

/build-report page also contains metadata search element. It uses API provided by TODO insert metastore link.

Visualizations

Solar and wind records
Development in electricity consumption

Getting started

Install dependencies:

yarn

CSS

We're using tailwindcss for creating stylesheets. To build the CSS file:

yarn build

Cookies

To stay GDPR compliant

Enclose all html that embeds third-party resource (and may result in third-party cookies) in:

  <div class="blockedHTML">
    {% include "partials/cookie-consent-placeholder.njk" %}
    <template class="cookieConsent">
      <!-- your tag here -->
    </template>
  </div>

and put type javascript/blocked to all javascript that may result in cookies:

<script type="javascript/blocked" src="your/source"></script>

Scripts used

Readme

Keywords

none

Package Sidebar

Install

npm i @datopian/edp

Weekly Downloads

2

Version

1.6.1

License

ISC

Unpacked Size

21.9 MB

Total Files

276

Last publish

Collaborators

  • luccasmmg
  • demenech
  • anuveyatsu