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

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.

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-1.0.0a3.tar.gz (8.7 MB view details)

Uploaded Source

File details

Details for the file plonestatic_euphorie-1.0.0a3.tar.gz.

File metadata

  • Download URL: plonestatic_euphorie-1.0.0a3.tar.gz
  • Upload date:
  • Size: 8.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for plonestatic_euphorie-1.0.0a3.tar.gz
Algorithm Hash digest
SHA256 8cf05e032a2198b6c06e5d11bb6d6408aea09b3d00ec682d02d2fac1d6107f72
MD5 2538f9cb1bd178dd6f5b3ab2ca3c4415
BLAKE2b-256 76b1073815dd1121280e02bcb28563b9450cb8ce9056ca1ccfa8f35393f87294

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