Skip to content

quentin-f451/kirby-starterkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kirby Starterkit

Release

This repo is my own starterkit for Kirby 4 projects. Featuring Kirby CMS and SCSS Starterkit.

Requirements

Installation

  1. In Terminal, go to your production folder:
cd path/to/my/folder
  1. Clone this repository with the submodules
git clone https://github.com/quentin-f451/kirby-starterkit NAME-OF-MY-FOLDER
cd NAME-OF-MY-FOLDER
git clone --depth=1 https://github.com/quentin-f451/scss-starterkit.git src/scss
rm -rf ./src/scss/.git ./src/scss/.gitignore ./src/scss/README.md
  1. Install and update Kirby
composer install
cd www/kirby
composer update
cd ..
cd site/plugins/kirby-seo
composer install --no-dev --optimize-autoloader
cd ../../..
  1. Install dependencies with npm
pnpm install
  1. You just have to type npm run dev now, open http://localhost:3000 and to start coding. The browser will reload at every saved change!

  2. At the end of your coding process, you can run the npm run build command.

  3. Complete example:

git clone https://github.com/quentin-f451/kirby-starterkit MY_PROJECT
cd MY_PROJECT
git clone --depth=1 https://github.com/quentin-f451/scss-starterkit.git src/scss
rm -rf ./src/scss/.git ./src/scss/.gitignore ./src/scss/README.md
composer install
cd www/kirby
composer update
cd ..
cd site/plugins/kirby-seo
composer install --no-dev --optimize-autoloader
cd ../../..
pnpm install

Contribute

Feel free to submit any issue or request.

This project is in a beta version and I develop it for my own projects. Don't use it on a production website if you're not sure of being able to correct my bugs!