From b0c1af11076ece0661bbcf62a444c8fb2c4ae3ff Mon Sep 17 00:00:00 2001 From: schuer Date: Thu, 28 Dec 2023 23:39:38 +0100 Subject: [PATCH 1/3] add fullpage demo --- source/images.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/images.yml b/source/images.yml index acc8ed6..0289664 100644 --- a/source/images.yml +++ b/source/images.yml @@ -11,3 +11,7 @@ images: tags: ["onepage"] package-name: "demo_onepage" package-version: "1.8.0" + - name: "fullpage" + tags: ["fullpage"] + package-name: "demo_fullpage" + package-version: "2.0.10" From 7ef19f6f86de8fe466ed99aa3104dd35db4a91b6 Mon Sep 17 00:00:00 2001 From: schuer Date: Thu, 28 Dec 2023 23:39:41 +0100 Subject: [PATCH 2/3] docs --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7be9d3b..7088a64 100644 --- a/README.md +++ b/README.md @@ -14,19 +14,22 @@ Images are published both on [Docker Hub](https://hub.docker.com/r/friendsofreda * **`base`** This demo aims to primarily help beginners, and it demonstrates just _one_ way how to develop a website with REDAXO. - [https://github.com/FriendsOfREDAXO/demo_base/](https://github.com/FriendsOfREDAXO/demo_base/) + [FriendsOfREDAXO/demo_base/](https://github.com/FriendsOfREDAXO/demo_base/) * **`onepage`** This demo demonstrates 3 ways how to build a onepage website: with modules, with articles, with categories. _(German)_ - [https://github.com/FriendsOfREDAXO/demo_onepage/](https://github.com/FriendsOfREDAXO/demo_onepage/) + [FriendsOfREDAXO/demo_onepage/](https://github.com/FriendsOfREDAXO/demo_onepage/) * **`community`** In this demo you can see how to use the community addOn to create a website where users can register and login to protected areas. _(German)_ - [https://github.com/FriendsOfREDAXO/demo_community/](https://github.com/FriendsOfREDAXO/demo_community/) + [FriendsOfREDAXO/demo_community/](https://github.com/FriendsOfREDAXO/demo_community/) +* **`fullpage`** + Makes use of the fullPage.js script to demonstrate a onepage website. _(German)_ + [FriendsOfREDAXO/demo_fullpage/](https://github.com/FriendsOfREDAXO/demo_fullpage/) ## Environment variables 👉 Environment variables correspond 1:1 to those of the __REDAXO image__. Find a complete list here: -[https://github.com/FriendsOfREDAXO/docker-redaxo/#environment-variables](https://github.com/FriendsOfREDAXO/docker-redaxo/#environment-variables) +[FriendsOfREDAXO/docker-redaxo/#environment-variables](https://github.com/FriendsOfREDAXO/docker-redaxo/#environment-variables) ## Usage From d7e439986eb2930a7783447131cd2aa3418a6519 Mon Sep 17 00:00:00 2001 From: FriendsOfREDAXO-T Date: Thu, 28 Dec 2023 22:40:23 +0000 Subject: [PATCH 3/3] GenerRRRRR-ate image files from source! --- images/fullpage/Dockerfile | 6 ++++++ images/fullpage/custom-setup.sh | 11 +++++++++++ images/fullpage/tags.yml | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 images/fullpage/Dockerfile create mode 100644 images/fullpage/custom-setup.sh create mode 100644 images/fullpage/tags.yml diff --git a/images/fullpage/Dockerfile b/images/fullpage/Dockerfile new file mode 100644 index 0000000..f098824 --- /dev/null +++ b/images/fullpage/Dockerfile @@ -0,0 +1,6 @@ +FROM friendsofredaxo/redaxo:5 + +# copy custom setup script +# will be executed within the REDAXO container once the REDAXO setup was finished +COPY custom-setup.sh /usr/local/bin/ +RUN chmod +x /usr/local/bin/custom-setup.sh diff --git a/images/fullpage/custom-setup.sh b/images/fullpage/custom-setup.sh new file mode 100644 index 0000000..00c76a4 --- /dev/null +++ b/images/fullpage/custom-setup.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -euo pipefail + +cd /var/www/html + +php redaxo/bin/console install:download -q demo_fullpage 2.0.10 +php redaxo/bin/console package:install -q demo_fullpage +php redaxo/bin/console cache:clear -q +php redaxo/bin/console demo_fullpage:install -q -y + +chown -R www-data:www-data ./ diff --git a/images/fullpage/tags.yml b/images/fullpage/tags.yml new file mode 100644 index 0000000..f6436e6 --- /dev/null +++ b/images/fullpage/tags.yml @@ -0,0 +1,2 @@ +tags: + - fullpage