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
+10-1
Original file line number
Diff line number
Diff line change
@@ -13,19 +13,28 @@ This repository contains the completed project for this course—a simple conten
13
13
14
14
The source for this application is mainly located within the `app` directory. Within here we have various directories each responsible for a particular piece of the application.
15
15
16
-
To get a local copy of the application working you can run the following commands from within the root directory of the source (assuming you're running on a *nix machine).
16
+
To get a local copy of the application working you can follow the instructions below (assuming you're on a *nix machine):
17
+
18
+
Firt, rename the `.env.example` file to `.env`. Make any changes you need to in here such as changing the `DB_DATABASE`. Then, run the following commands from your terminal:
17
19
18
20
```
19
21
$ composer install
20
22
$ php artisan migrate
21
23
$ php artisan db:seed
22
24
$ npm install
23
25
$ gulp
26
+
```
27
+
28
+
If you'd like to use Artisan to serve your application you can run the following command:
29
+
30
+
```
24
31
$ php artisan serve
25
32
```
26
33
27
34
This will then serve the application to `localhost:8000`.
28
35
36
+
Otherwise use Homestead to serve the application.
37
+
29
38
------
30
39
31
40
These are source files for the Tuts+ course: [Build a CMS With Laravel][published url]
0 commit comments