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: README.md
+35-13Lines changed: 35 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,25 +31,35 @@ Documentation is available at: https://docs.dotkernel.org/api-documentation/
31
31
32
32
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:
33
33
34
-
git clone https://github.com/dotkernel/api.git .
34
+
```shell
35
+
git clone https://github.com/dotkernel/api.git .
36
+
```
35
37
36
38
## Step 2: Install project's dependencies
37
39
38
-
composer install
40
+
```shell
41
+
composer install
42
+
```
39
43
40
44
## Step 3: Development mode
41
45
42
46
If you're installing the project for development, make sure you have development mode enabled, by running:
43
47
44
-
composer development-enable
48
+
```shell
49
+
composer development-enable
50
+
```
45
51
46
52
You can disable development mode by running:
47
53
48
-
composer development-disable
54
+
```shell
55
+
composer development-disable
56
+
```
49
57
50
58
You can check if you have development mode enabled by running:
51
59
52
-
composer development-status
60
+
```shell
61
+
composer development-status
62
+
```
53
63
54
64
## Step 4: Prepare config files
55
65
@@ -66,11 +76,13 @@ You can check if you have development mode enabled by running:
66
76
* fill out the database connection params in `config/autoload/local.php` under `$databases['default']`
67
77
* run the database migrations by using the following command:
68
78
69
-
php vendor/bin/doctrine-migrations migrate
79
+
```shell
80
+
php vendor/bin/doctrine-migrations migrate
81
+
```
70
82
71
83
This command will prompt you to confirm that you want to run it:
72
84
73
-
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]:
85
+
>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]:
74
86
75
87
Hit `Enter` to confirm the operation.
76
88
@@ -80,29 +92,39 @@ Hit `Enter` to confirm the operation.
80
92
81
93
To list all the fixtures, run:
82
94
83
-
php bin/doctrine fixtures:list
95
+
```shell
96
+
php bin/doctrine fixtures:list
97
+
```
84
98
85
99
This will output all the fixtures in the order of execution.
0 commit comments