No description
Find a file
2024-07-11 12:42:29 +02:00
.vscode Initial commit 2024-07-10 16:10:33 +02:00
public Finish to setup data access 2024-07-11 12:42:29 +02:00
src Finish to setup data access 2024-07-11 12:42:29 +02:00
.gitignore Initial commit 2024-07-10 16:10:33 +02:00
index.html Initial commit 2024-07-10 16:10:33 +02:00
package-lock.json Initial commit 2024-07-10 16:10:33 +02:00
package.json Initial commit 2024-07-10 16:10:33 +02:00
README.md Finish to setup data access 2024-07-11 12:42:29 +02:00
vite.config.js Initial commit 2024-07-10 16:10:33 +02:00

The project is based on Kirby CMS, Vite + Vue and Pinia as a state manager. Vue is used following the composition API approach.

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
  • Replace the public/site/plugins/kqlplugins by its last version, downloaded from the official GitHub repo.
  • Launch the servers (see below).
  • Create the first user to the Kirby panel through http://localhost:8888/panel
  • In the root directory, create an .env file containing your user's connexion informations :
VITE_USERNAME=mail@example.com
VITE_PASSWORD=your-private-password

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