@@ -23,25 +23,31 @@ You need to have at least PHP 7.1.3, Composer and Node.js installed on your mach
2323$ git clone https://github.com/fostermadeco/laravel-graphql-blog.git
2424```
2525
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
2733
2834``` bash
2935$ cp .env.example .env
3036```
3137
32- ** 3 -** Run Composer to install or update the new requirement.
38+ ** 4 -** Run Composer to install or update the new requirement.
3339
3440``` bash
3541$ composer install
3642```
3743
38- ** 4 -** Generate a new application key for your app
44+ ** 5 -** Generate a new application key for your app
3945
4046``` bash
4147$ php artisan key:generate
4248```
4349
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
4551
4652```
4753DB_CONNECTION=mysql
@@ -53,39 +59,39 @@ DB_PASSWORD=secret
5359
5460```
5561
56- ** 6 -** Create a symbolink link to your public storage
62+ ** 7 -** Create a symbolink link to your public storage
5763
5864``` bash
5965$ php artisan storage:link
6066
6167```
6268
63- ** 7 -** Run the database migration and seeders
69+ ** 8 -** Run the database migration and seeders
6470
6571``` bash
6672$ php artisan migrate --seed
6773
6874```
6975
70- ** 8 -** Run npm to install additional dependencies
76+ ** 9 -** Run npm to install additional dependencies
7177
7278``` bash
7379$ npm install
7480```
7581
76- ** 9 -** Run npm to compile the Js and CSS resources
82+ ** 10 -** Run npm to compile the Js and CSS resources
7783
7884``` bash
7985$ npm run dev
8086```
8187
82- ** 10 -** Launch the app
88+ ** 11 -** Launch the app
8389
8490``` bash
8591$ php artisan serve
8692```
8793
88- ** 11 -** Go to http://localhost:8000/ and Voilà !!!
94+ ** 12 -** Go to http://localhost:8000/ and Voilà !!!
8995
9096
9197## What are we demonstrating here?
0 commit comments