Finish to setup data access

This commit is contained in:
isUnknown 2024-07-11 12:42:29 +02:00
parent 90c998fa41
commit 80f72e7dc9
10 changed files with 73 additions and 36 deletions

View file

@ -1,7 +1,11 @@
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 :
# Development
## Development environment
### First setup :
- **From the `/public` directory**, install the Kirby dependencies : `composer install`
- **From the root directory**, install the Node dependencies : `npm install`
@ -15,7 +19,7 @@ VITE_USERNAME=mail@example.com
VITE_PASSWORD=your-private-password
```
## Development environment
### Servers
- **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`