Skip to main content

Euphorie Risk Assessment tool static resources

Project description

Static resources for the Euphorie project

This repository contains static resources for the Euphorie project.

Updating the package

In order to properly update the package, you will need some development tools to be installed, i.e:

  • git
  • make
  • rsync
  • Ruby

Optionally, you can install gitman to manage the checkouts.

Updating the site is a three-step process.

  1. you need to fetch a fresh clone of the Euphorie prototype.
  2. you need to compile the resources.
  3. you need to install the resources in the Euphorie package.

This can be done by running the following command:

make all

Run:

make help

to see all available commands and fine tune the build experience.

Fetching a fresh clone of the Euphorie prototype

To update the repository, run the command:

make update-proto

The clone will be placed in the var/prototype directory.

Running make all will take care of running this command for you.

Compiling the resources

The resources are compiled using the static site generator Jekyll. The compiled site can be found in the var/prototype/_site directory.

To compile the resources, run the command:

make jekyll

This command will also clone (but not update) the Euphorie prototype if it is not already present.

Running make all will take care of running this command for you.

Installing the resources in the Euphorie package

The compiled prototype in var/prototype/_site needs to be copied in this package. Only selected resources will be copied and they will end up in the src/plonestatic/euphorie/resources directory.

The resources directory will be served by Plone as a static resource folder under the path ++resource++euphorie.resource.

While doing the copy, some references to the other resources in CSS and HTML files have to be rewritten to adjust to the new location, e.g. /assets/... will be rewritten to /++resource++euphorie.resource/assets/....

The command to install the resources is:

make resources-install

Running make all will take care of running this command for you.

Changelog

2.0.0 (2026-07-14)

Breaking changes:

  • Replace pkg_resources namespace with PEP 420 native namespace. Support only Plone 6.2 and Python 3.10+. (Issue #3928)

1.1.0 (2026-06-23)

New features:

  • Update of the italian help, reflecting the wishes of the IT oira partner as requested. (Issue #4797)
  • Update to the latest proto. @ale-rt (Issue #4797)

Internal:

  • The script that copies the resources now warns at 60MB. @ale-rt (Issue #4797)

1.0.3 (2026-05-13)

Bug fixes:

  • Remove stale help file created only for testing (Issue #4822)

1.0.2 (2026-04-10)

Bug fixes:

  • Update the resources, increase the size of the package. Fix an issue with a missing css resource triggering an error in the backend. @ale-rt (Issue #3642)

1.0.1 (2025-12-09)

Bug fixes:

Internal:

  • Fix towncrier config.

1.0.0 (2025-07-15)

Bug fixes:

  • Add missing example report images (used by @@register_session) Also extend the Makefile to automatically include these images when building plonestatic.euphorie. (#3709)
  • Script replacement: Also support version/release-level specific subdirectories of the Patternslib script in prototype like alpha/, beta/, etc. [thet]

1.0.0a5 (2025-03-27)

  • Add a missing image used by the Euphorie package

  • Use gitman if it is available [ale-rt]

  • major update of help, fixing broken links, missing images and pages, new illustration files [pilz]

1.0.0a4 (2025-02-20)

  • Update to the most recent markup

1.0.0a3 (2025-02-04)

  • Fix link to patternslib

1.0.0a2 (2025-02-04)

  • Add missing resources

1.0.0a1 (2025-02-03)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plonestatic_euphorie-2.0.0.tar.gz (15.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plonestatic_euphorie-2.0.0-py3-none-any.whl (17.1 MB view details)

Uploaded Python 3

File details

Details for the file plonestatic_euphorie-2.0.0.tar.gz.

File metadata

  • Download URL: plonestatic_euphorie-2.0.0.tar.gz
  • Upload date:
  • Size: 15.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for plonestatic_euphorie-2.0.0.tar.gz
Algorithm Hash digest
SHA256 5a74a206c522720767ec91cfaf602adca387737c43e212bf381073957a78eab8
MD5 d20a68bff6cb8c32c5deca4edecc1e6a
BLAKE2b-256 e6687be8202103bbb0163c265129d0d75b448664d924fcb2df81131997646985

See more details on using hashes here.

File details

Details for the file plonestatic_euphorie-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for plonestatic_euphorie-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ef44c070737abc3603567db1fc592e6e270cf7c653346f1e2c1dbd5a8dbc3f2
MD5 757dd2986fbb5cdf8ba6f0f90196cf0b
BLAKE2b-256 4fc1ec697b204b56731be42c62cc493bc71d8ed47b7ead4da943dfa0b1695c2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page