Skip to content

Commit

Permalink
Merge pull request #13 from FriendsOfREDAXO/schuer-add-fullpage-demo
Browse files Browse the repository at this point in the history
Add fullpage demo
  • Loading branch information
schuer authored Dec 28, 2023
2 parents 7a2a9a1 + d7e4399 commit ff263ac
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 4 deletions.
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"

0 comments on commit ff263ac

Please sign in to comment.