@@ -23,25 +23,31 @@ You need to have at least PHP 7.1.3, Composer and Node.js installed on your mach
23
23
$ git clone https://github.com/fostermadeco/laravel-graphql-blog.git
24
24
```
25
25
26
- ** 2-** Create a .env file in the root directory and copy the content from .env.example
26
+ ** 2-** Go to the downloaded / cloned directory
27
+
28
+ ``` bash
29
+ $ cd laravel-graphql-blog
30
+ ```
31
+
32
+ ** 3-** Create a .env file in the root directory and copy the content from .env.example
27
33
28
34
``` bash
29
35
$ cp .env.example .env
30
36
```
31
37
32
- ** 3 -** Run Composer to install or update the new requirement.
38
+ ** 4 -** Run Composer to install or update the new requirement.
33
39
34
40
``` bash
35
41
$ composer install
36
42
```
37
43
38
- ** 4 -** Generate a new application key for your app
44
+ ** 5 -** Generate a new application key for your app
39
45
40
46
``` bash
41
47
$ php artisan key:generate
42
48
```
43
49
44
- ** 5 -** Edit the .env file and add / update your local database credentials in the .env file
50
+ ** 6 -** Edit the .env file and add / update your local database credentials in the .env file
45
51
46
52
```
47
53
DB_CONNECTION=mysql
@@ -53,39 +59,39 @@ DB_PASSWORD=secret
53
59
54
60
```
55
61
56
- ** 6 -** Create a symbolink link to your public storage
62
+ ** 7 -** Create a symbolink link to your public storage
57
63
58
64
``` bash
59
65
$ php artisan storage:link
60
66
61
67
```
62
68
63
- ** 7 -** Run the database migration and seeders
69
+ ** 8 -** Run the database migration and seeders
64
70
65
71
``` bash
66
72
$ php artisan migrate --seed
67
73
68
74
```
69
75
70
- ** 8 -** Run npm to install additional dependencies
76
+ ** 9 -** Run npm to install additional dependencies
71
77
72
78
``` bash
73
79
$ npm install
74
80
```
75
81
76
- ** 9 -** Run npm to compile the Js and CSS resources
82
+ ** 10 -** Run npm to compile the Js and CSS resources
77
83
78
84
``` bash
79
85
$ npm run dev
80
86
```
81
87
82
- ** 10 -** Launch the app
88
+ ** 11 -** Launch the app
83
89
84
90
``` bash
85
91
$ php artisan serve
86
92
```
87
93
88
- ** 11 -** Go to http://localhost:8000/ and Voilà !!!
94
+ ** 12 -** Go to http://localhost:8000/ and Voilà !!!
89
95
90
96
91
97
## What are we demonstrating here?
0 commit comments