Creates a static site via the Landscape2 project for the Eclipse SDV Projects.
Prerequisites: ensure you've got Docker Compose installed
docker compose --env-file .env.stable run --rm l2-buildPrerequisites: ensure you've got Docker Compose installed
docker compose --env-file .env.stable run --rm l2-servemkdir -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 8000Open: 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.
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-buildHint: 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