This is a helper tool for fetch content from Flow Framework / Neos CMS installation on a remote server to your local computer running with docker.
This is a helper tool for fetch content from Flow Framework / Neos CMS installation on a remote server to your local
computer running with docker.
## Dependency
## Dependency
This is requires that your Flow Framework / Neos CMS installation is configured to run with `dockerflow` package. See https://github.com/Sebobo/Shel.DockerFlow
This is requires that your Flow Framework / Neos CMS installation is configured to run with `dockerflow` package
(see https://github.com/Sebobo/Shel.DockerFlow) and all containers are started before executing the sync.
## Installation
## Installation
...
@@ -20,24 +22,40 @@ Add the `syncontent` package into your `composer.json` file and update `composer
...
@@ -20,24 +22,40 @@ Add the `syncontent` package into your `composer.json` file and update `composer
In the root directory of your project, execute:
In the root directory of your project, execute:
```bash
```bash
bin/syncontent demo-014-007
bin/syncontent --remote-user=demo-014-007
```
```
- Replace the user `demo-014-007` with the one you want to get content from.
- Replace the user `demo-014-007` with the one you want to get content from
- You need to make sure that you have auto login with public key to `demo-014-007@10.10.10.27`
- You need to make sure that you have auto login with public key to `demo-014-007@YOUR_SERVER_HOSTNAME_OR_IP`.
The default host server is `10.10.10.27`, which is the internal web server
- You can define different server host with `--remote-host=YOUR_SERVER_HOSTNAME_OR_IP` argument
- Only `latest` or `demo` is supported at the moment. We don't recommend you to have autologin access to the live site
- Only `latest` or `demo` is supported at the moment. We don't recommend you to have autologin access to the live site
- You can only run the command from the root directory of your project
- You can only run the command from the root directory of your project
- If your remote path is in another directory below `public_html`, set it in the second argument like below:
- The document root on the server will have to be at `/home/demo-014-007/public_html`
- If you have a different document root path, you can overwrite the default with `--remote-path` argument