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 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 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"