You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/v4/introduction/getting-started.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,6 @@
2
2
3
3
Using your terminal, navigate inside the directory you want to download the project files into. Make sure that the directory is empty before proceeding to the download process. Once there, run the following command:
Copy file name to clipboardExpand all lines: docs/book/v4/introduction/installation.md
+38-16Lines changed: 38 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,29 @@
2
2
3
3
## Install dependencies
4
4
5
-
composer install
5
+
```shell
6
+
composer install
7
+
```
6
8
7
9
## Development mode
8
10
9
11
If you're installing the project for development, make sure you have development mode enabled, by running:
10
12
11
-
composer development-enable
13
+
```shell
14
+
composer development-enable
15
+
```
12
16
13
17
You can disable development mode by running:
14
18
15
-
composer development-disable
19
+
```shell
20
+
composer development-disable
21
+
```
16
22
17
23
You can check if you have development mode enabled by running:
18
24
19
-
composer development-status
25
+
```shell
26
+
composer development-status
27
+
```
20
28
21
29
## Prepare config files
22
30
@@ -34,11 +42,13 @@ Make sure you fill out the database credentials in `config/autoload/local.php` u
34
42
* create a new MySQL database - set collation to `utf8mb4_general_ci`
35
43
* run the database migrations by using the following command:
36
44
37
-
php vendor/bin/doctrine-migrations migrate
45
+
```shell
46
+
php vendor/bin/doctrine-migrations migrate
47
+
```
38
48
39
49
This command will prompt you to confirm that you want to run it.
40
50
41
-
WARNING! You are about to execute a migration in database "..." that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) [yes]:
51
+
>WARNING! You are about to execute a migration in database "..." that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) [yes]:
42
52
43
53
Hit `Enter` to confirm the operation.
44
54
@@ -48,40 +58,52 @@ Hit `Enter` to confirm the operation.
48
58
49
59
To list all the fixtures, run:
50
60
51
-
php bin/doctrine fixtures:list
61
+
```shell
62
+
php bin/doctrine fixtures:list
63
+
```
52
64
53
65
This will output all the fixtures in the order of execution.
0 commit comments