Cookies ahead

Our support chat tool "Intercom" would like to collect some more data on you. See the related link for more details.

Docs

Deploy Kirby with rsync

Reviewedbyfl

Markdown ↓

Deploy Kirby CMS on fortrabbit using rsync.

Get ready

Before deploying Kirby with rsync, ensure you have these prerequisites installed and configured.

Deployment

Synchronize your Kirby project files between your local machine and the fortrabbit environment using these rsync commands.

# UP: from local to remote (syncs to the app root)
$ rsync -av ./ {{app-env-id}}@ssh.{{region}}.frbit.app:

# DOWN: from remote to local (syncs from the app root)
$ rsync -av {{app-env-id}}@ssh.{{region}}.frbit.app: ./
shell

See the rsync article for more details.

The vendor folder

When syncing your project root with rsync, the Composer vendor folder is included; this works reliably in most cases. Ensure your local PHP version roughly matches the fortrabbit remote for best compatibility. Alternatively, you can run composer install on the fortrabbit environment, or use Git deployment with build commands to automate dependency installation—see the git and rsync workflow guide for details.

Written by a human. Review, grammar checks and typo fixes by AI.

AI use & editorial processEdit on GitHub ↗