From 75bcdf89b9795abf13ec4ea10031e16b166880ad Mon Sep 17 00:00:00 2001 From: isUnknown Date: Wed, 10 Jul 2024 16:37:24 +0200 Subject: [PATCH] Add dev setup to readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index e69de29..24d51cb 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,12 @@ +The project is based on [Kirby CMS](https://getkirby.com), [Vite](https://vitejs.dev/) + [Vue](https://fr.vuejs.org/) and [Pinia](https://pinia.vuejs.org/) as a state manager. +Vue is used following the composition API approach. + +## First setup : + +- **From the `/public` directory**, install the Kirby dependencies : `composer install` +- **From the root directory**, install the Node dependencies : `npm install` + +## Development environment + +- **From the `/public` directory**, launch the PHP server : `php -S localhost:8888 kirby/router.php` +- In another terminal tab, **from the root directory**, launch the Vite server : `vite`