Skip to content

eclipse-sdv-landscape/sdv-landscape

Repository files navigation

Eclipse SDV Projects - Landscape2

Creates a static site via the Landscape2 project for the Eclipse SDV Projects.

Build

Prerequisites: ensure you've got Docker Compose installed

docker compose --env-file .env.stable run --rm l2-build

Serve

Prerequisites: ensure you've got Docker Compose installed

docker compose --env-file .env.stable run --rm l2-serve

Extracting built site

mkdir -p build
docker compose --env-file .env.stable run --rm l2-export | tar -C build -xf -

or using:

mkdir -p build
docker run --rm -v eclipse-sdv-projects-landscape2_l2_site:/site:ro -v "$PWD/build:/output" busybox:1.36 sh -c "cp -a /site/. /output/"

Then serve from build/ and open the base_path URL:

cd build
python3 -m http.server 8000

Open: http://127.0.0.1:8000/eclipse-sdv-projects-landscape2/

If you want to serve at / instead, set base_path: / in settings.yml and rebuild.

Note: the actual extracted site is under build/ (for example build/eclipse-sdv-projects-landscape2/). The top-level folder ./eclipse-sdv-projects-landscape2 can be an empty leftover from older copy commands and is not used.

Note on stable and latest

Any command above can also be run using --env-file .env.latest to use the latest available distributed Landscape2 Docker image.

For example:

docker compose --env-file .env.latest run --rm l2-build

Collect new data from Eclipse Projects API (with static categories)

Hint: execute in the root folder Modifiy the static_categories.yml to map all the projects static.

python ./tools/generate_data_static.py --categories static_categories.yml --output data.yml 

Releases

No releases published

Packages

 
 
 

Contributors

Languages