Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.1 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.1 KB

Build tools

Deploy

  • Github Action + RSYNC

Requirements

Setup

  • Run npm install
  • Run composer install
  • You'll need to populate the content folder for kirby to run locally content/site.txt content/home/home.txt

Development

  • Setup a local server, and add the local url to .env. Example: LOCAL_URL = 'http://example.localhost/'
  • npm run dev will watch files and process them on when updated. Updates will be reflected on browsersync proxy url.
  • npm run build will run once and generate the minified produciton files.

Update

  • composer update to update Kirby

Deploy

Github will need SSH access to the server to deploy via rsync

  • Generate a new SSH key and put the secret in github repo secrets
  • Public Key goes on the server