The distribution for demo.neos.io
We use Localbeach from Flownative for the development. That leads to the requirements:
Install Beach CLI by running the following commands (using Homebrew):
brew tap flownative/flownative
$ brew install localbeach
$ beach version
As the PHP container from beach has no composer installed, we need to use the composer container from flownative
to run the composer commands.
Therefore, we need to add a function to our .bashrc
or .zshrc
.
composer81 () {
tty=
tty -s && tty=--tty
docker run \
$tty \
--interactive \
--rm \
--user $(id -u):$(id -g) \
--volume /etc/passwd:/etc/passwd:ro \
--volume /etc/group:/etc/group:ro \
--volume $(pwd):/application:delegated \
--volume $HOME/.composer/cache:/home/composer/cache:delegated \
--volume $HOME/.composer/auth.json:/home/composer/auth.json \
flownative/composer2:8.1 "$@"
}
After you added the function, you should run source .zshrc
or source .bashrc
depends on which shell you are using.
Clone the repository and install via composer.
git clone https://github.com/neos/demo.neos.io.git your/Folder/demo.neos.io
cd your/Folder/demo.neos.io
composer81 update
Start the beach instance and if you run the instance.
beach start
If you run the instance for the first time, we also have to import the site.
beach setup-https
beach exec
./flow site:import Neos.Demo
After that, the instance should be available under https://demoneosio.localbeach.net
This website is hosted on Flownative Beach in the Neos organization.