Download the PHP package arnoson/kirby-deploy without Composer
On this page you can find all versions of the php package arnoson/kirby-deploy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package kirby-deploy
Kirby Deploy We have all been there: manually dragging and dropping files into an ftp client like FileZilla to upload our websites to the server. This is not only cumbersome, but also error-prone if you forget to upload some changed files. There are better tools to automate this process like rsync or lftp, but they are not the easiest to use. Kirby Deploy wraps lftp, provides good defaults and ships you around the edges. > [!WARNING] > This tool is in it's early stages. Use at your own risk and create a backup of your remote/local data before you apply it. ## Demo ![Example](./.github/kirby-deploy-demo.svg) ## Features - ๐ก Uses ftp (no SSH-access required) - ๐ Only upload changed files - ๐๏ธ Push or pull content to sync your local development - ๐ง Displays a maintenance note on your website during deployment - ๐งน Clears the cache after deployment ## Installation Prerequisites: install [lftp](https://lftp.yar.ru/). If you are using windows, install lftp in WSL (your code doesn't have to be located in WSL). Install the Kirby plugin Install the CLI ## Usage Setup your [config](#config) and deploy your website. All commands will start a dry run giving you an overview of which files would be modified or deleted. The content, languages and accounts folder are **not** uploaded, to prevent you from messing up your production website at a later stage. So for the first time deployment you also have to run: See the `/example` for a more detailed setup with `.env` files and npm scripts. ## Config ### Basic Note: don't hardcode your ftp credentials in the config, use an `.env` file instead. See the `/example` folder. ### Advanced ## Commands > [!CAUTION] > `deploy` and all `push` commands will overwrite remote files or delete them if they don't exist locally. Likewise all `pull` commands will overwrite local files or delete them. ### ๐ Deploy Upload your website to the server. ### ๐๏ธ Content #### Push Upload your local content folder to your website. #### Pull Download the content folder from your website. ### ๐ Accounts #### Push Upload your local accounts folder (including `.htpasswd`) to your website. #### Pull Download the accounts folder (including `.htpasswd`) from your website. ### ๐ Languages #### Push Upload your local languages folder to your website. #### Pull Download the languages folder from your website. ## Troubleshooting If you can't connect to your ftp server, try connecting with lftp directly to see if this is a general issue with lftp or with this tool. Try listing e.g. your directory. ## Roadmap - [ ] Allow setting lftp flags in config - [ ] Better error handling - [ ] Test `sftp`, right now I only use it for `ftps` ## Credits Thanks to - [lftp](https://lftp.yar.ru/) - [rploy](https://github.com/jongacnik/rploy)
All versions of kirby-deploy with dependencies
PHP Build Version
Package Version
Requires
getkirby/composer-installer Version
^1.2
The package arnoson/kirby-deploy contains the following files
Loading the files please wait ....