Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fullpage demo #13

Merged
merged 3 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions images/fullpage/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions images/fullpage/custom-setup.sh
Original file line number Diff line number Diff line change
@@ -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 ./
2 changes: 2 additions & 0 deletions images/fullpage/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tags:
- fullpage
4 changes: 4 additions & 0 deletions source/images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"