This repo is my own starterkit for Kirby 4 projects. Featuring Kirby CMS and SCSS Starterkit.
- In Terminal, go to your production folder:
cd path/to/my/folder
- 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
- Install and update Kirby
composer install
cd www/kirby
composer update
cd ..
cd site/plugins/kirby-seo
composer install --no-dev --optimize-autoloader
cd ../../..
- Install dependencies with npm
pnpm install
-
You just have to type
npm run dev
now, openhttp://localhost:3000
and to start coding. The browser will reload at every saved change! -
At the end of your coding process, you can run the
npm run build
command. -
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
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!