Skip to content
This repository was archived by the owner on Jan 5, 2019. It is now read-only.

Commit 3c091c9

Browse files
author
Mario Basic
committed
Updated readme.
1 parent 6f1ca8d commit 3c091c9

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

readme.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,35 @@ Install by issuing the Composer `create-project` command in your terminal:
3434
composer create-project --prefer-dist laravelista/kyle
3535
```
3636

37-
### Sample data
37+
Change values in `.env` file related to `DB_` and `APP_` keys.
38+
39+
You need to set your database values including:
40+
41+
- DB_HOST
42+
- DB_PORT
43+
- DB_DATABASE
44+
- DB_USERNAME
45+
- DB_PASSWORD
46+
47+
Also you need to set application to production env and disable debugging if you are planning on running Kyle on a production server:
48+
49+
- APP_ENV=production
50+
- APP_DEBUG=false
51+
52+
### Migrate database
53+
54+
Run migrations with:
55+
56+
```
57+
php artisan migrate
58+
```
59+
60+
#### Sample data
3861

3962
To populate Kyle with sample data and see how the Overview and Report pages look like, use this command:
4063

4164
```
42-
php artisan migrate --seed
65+
php artisan db:seed
4366
```
4467

4568
> Warning! This command will populate the database with a lot of sample data. Use only while testing or if you understand what will happen once this command has triggered.

0 commit comments

Comments
 (0)