Skip to content

Commit 14e6f2e

Browse files
committed
Updted importers and added example data
1 parent 6b45aa7 commit 14e6f2e

16 files changed

Lines changed: 3167 additions & 152 deletions

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ See [keep a changelog] for information about writing changes to this log.
88

99
## [Unreleased]
1010

11+
*
12+
1113
## [3.0.3] - 2025-07-29
1214

1315
* [PR-37](https://github.com/itk-dev/sysstatus/pull/37)

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ docker compose exec phpfpm bin/console itstyr:import:system <URL>
5555
docker compose exec phpfpm bin/console itstyr:import:report <URL>
5656
```
5757

58+
## Apply fixtures
59+
60+
```shell
61+
docker compose exec phpfpm bin/console doctrine:fixtures:load --group=imported_data --purge-exclusions=user
62+
```
63+
5864
### Flowchart
5965

6066
A helpful flowchart over the Entities, and Joinedtables.

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"twig/twig": "^2.12 || ^3.20"
3434
},
3535
"require-dev": {
36+
"doctrine/doctrine-fixtures-bundle": "^4.1",
3637
"ergebnis/composer-normalize": "^2.45",
3738
"friendsofphp/php-cs-fixer": "^3.73.1",
3839
"phpstan/extension-installer": "^1.4.3",

composer.lock

Lines changed: 170 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/bundles.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
1616
Symfony\UX\TwigComponent\TwigComponentBundle::class => ['all' => true],
1717
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true],
18+
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
1819
];

config/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Put parameters here that don't need to change on each machine where the app is deployed
55
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
66
parameters:
7-
7+
system_url: "%env(SYSTEM_URL)%"
88
services:
99
# default configuration for services in *this* file
1010
_defaults:

0 commit comments

Comments
 (0)