Skip to content

Commit fa66d5f

Browse files
committed
Update the instructions for getting a local copy working.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
1 parent 5766347 commit fa66d5f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

readme.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,28 @@ This repository contains the completed project for this course—a simple conten
1313

1414
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.
1515

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:
1719

1820
```
1921
$ composer install
2022
$ php artisan migrate
2123
$ php artisan db:seed
2224
$ npm install
2325
$ gulp
26+
```
27+
28+
If you'd like to use Artisan to serve your application you can run the following command:
29+
30+
```
2431
$ php artisan serve
2532
```
2633

2734
This will then serve the application to `localhost:8000`.
2835

36+
Otherwise use Homestead to serve the application.
37+
2938
------
3039

3140
These are source files for the Tuts+ course: [Build a CMS With Laravel][published url]

0 commit comments

Comments
 (0)