Skip to content

Commit 1dc1a05

Browse files
committed
scale for images, introduction.md
Signed-off-by: Howriq <[email protected]>
1 parent 60c9e1f commit 1dc1a05

File tree

11 files changed

+11
-9
lines changed

11 files changed

+11
-9
lines changed
File renamed without changes.
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The first step is to add alongside your current packages the required entries for our Doctrine installation.
66
We would add the following to our `composer.json` file located in our root folder:
77

8-
![composer](images/composer.png)
8+
<img src="images/composer.png" width="640">
99

1010
```text
1111
"dotkernel/dot-cache": "^4.0",
@@ -47,7 +47,7 @@ After successfully installing our dependencies we now need to configure our Doct
4747

4848
In the file `config/autoload/local.php` the structure would be updated like this:
4949

50-
![local.php](images/local.png)
50+
<img src="images/local.png" width="550">
5151

5252
```php
5353
$databases = [
@@ -84,8 +84,9 @@ This package takes all the provided configs from the `config/config.php` file an
8484

8585
Our new `src/App/src/ConfigProvider.php` class would look like this now:
8686

87-
![Config provider factories update](images/config-provider-1.png)
88-
![Doctrine config function](images/config-provider-2.png)
87+
<img src="images/config-provider-1.png" width="620">
88+
<br/>
89+
<img src="images/config-provider-2.png" width="620">
8990

9091
```php
9192
public function __invoke(): array
@@ -170,7 +171,7 @@ private function getDoctrineConfig(): array
170171
We also require a new file `config/cli-config.php`.
171172
It initializes and returns a `DependencyFactory` that Doctrine Migrations uses to run migrations.
172173

173-
![cli-config](images/cli-config.png)
174+
<img src="images/cli-config.png" width="620">
174175

175176
```php
176177
<?php
@@ -198,7 +199,7 @@ return DependencyFactory::fromEntityManager(
198199
Now that everything has been configured we only need to do one last thing, to create an executable for the Doctrine CLI.
199200
In our case we will create a `doctrine` file inside the application's `bin` directory:
200201

201-
![bin/doctrine](images/doctrine.png)
202+
<img src="images/doctrine.png" width="620">
202203

203204
```php
204205
#!/usr/bin/env php
@@ -223,7 +224,7 @@ ConsoleRunner::run(new SingleManagerProvider($entityManager));
223224
(Optional) To keep things tidy, we recommend making an executable for the migrations of Doctrine as well.
224225
For this, we create `doctrine-migrations` file inside the application's `bin` directory:
225226

226-
![bin/doctrine-migrations](images/doctrine-migrations.png)
227+
<img src="images/doctrine-migrations.png" width="640">
227228

228229
```php
229230
#!/usr/bin/env php
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/book/v1/images/local.png

21.4 KB
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ If not, we recommend [AlmaLinux](https://almalinux.org/) in a WSL2 container
88
- A fresh installation of [Dotkernel Light](https://github.com/dotkernel/light)
99
- Default UTF-8 encoding for files and LF type line separator
1010

11-
For any further tips we suggest that you have a look at our [development documentation](https://docs.dotkernel.org/development/v2/setup/installation/).
11+
For any further tips related to the development environment we suggest that you check out our [development documentation](https://docs.dotkernel.org/development/v2/setup/installation/).

0 commit comments

Comments
 (0)