Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Automated .env config setup #30

Merged
merged 3 commits into from Jun 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.travis
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_DRIVER=log
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ Plus Oauth and JWT authentication on the side.
$ composer install && npm install
```

Copy ```.env.example``` to ```.env``` and enter necessary config for DB and Oauth Providers Settings.
Open ```.env``` and enter necessary config for DB and Oauth Providers Settings.

```
$ php artisan migrate
$ php artisan db:seed
$ php artisan key:generate
```

## Work Flow
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
],
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
"php -r \"copy('.env.example', '.env');\"",
"php artisan optimize",
"php artisan key:generate"
],
"pre-update-cmd": [
"php artisan clear-compiled"
Expand Down