34 lines
662 B
Markdown
34 lines
662 B
Markdown
# Hecq & Lesort
|
||
|
||
Website built with [Kirby CMS](https://getkirby.com).
|
||
|
||
## Requirements
|
||
|
||
- PHP 8.2–8.5
|
||
- Composer
|
||
- Node.js / npm
|
||
|
||
## Install
|
||
|
||
```bash
|
||
composer install
|
||
npm install
|
||
```
|
||
|
||
## Dev server
|
||
|
||
```bash
|
||
npm run serve
|
||
```
|
||
|
||
Opens [localhost:3000](http://localhost:3000) (BrowserSync proxy on PHP's port 8000).
|
||
|
||
## Code style
|
||
|
||
PHP files are formatted with [PHP CS Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) (included in `require-dev`).
|
||
|
||
Install the [`junstyle.php-cs-fixer`](https://marketplace.visualstudio.com/items?itemName=junstyle.php-cs-fixer) VS Code extension for format on save. Or run manually:
|
||
|
||
```bash
|
||
./vendor/bin/php-cs-fixer fix
|
||
```
|