Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit 9095b89

Browse files
committed
Update composer setup
1 parent 2dcb620 commit 9095b89

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Scout Elasticsearch Driver
2-
3-
:exclamation: **If you are interested in being a collaborator, please fill in [this form](https://goo.gl/forms/hcB8LPQCyDpNRt9u2).** :exclamation:
1+
# Scout Elasticsearch Driver
42

53
---
64

@@ -10,8 +8,6 @@
108
[![Donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.me/babenkoi)
119

1210
:beer: If you like my package, it'd be nice of you [to buy me a beer](https://www.paypal.me/ivanbabenko).
13-
14-
:octocat: The project has a [chat room on Gitter](https://gitter.im/scout-elasticsearch-driver/Lobby)!
1511

1612
---
1713

@@ -48,7 +44,7 @@ Check out its [features](#features)!
4844
The package has been tested in the following configuration:
4945

5046
* PHP version >=7.1.3, <=7.3
51-
* Laravel Framework version 5.8
47+
* Laravel Framework version >=5.8, <=6
5248
* Elasticsearch version >=7
5349

5450
## Installation

docker-compose.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@ version: '3.7'
22

33
services:
44
php:
5-
image: babenkoivan/scout-elasticsearch-driver-php-cli:php7.2-laravel5.8
5+
image: babenkoivan/scout-elasticsearch-driver-php-cli:php7.3-laravel6
66
command: >
7-
sh -c 'check-connection mysql 3306 &&
7+
sh -c 'composer config --no-interaction repositories.driver "{\"type\":\"path\",\"url\":\"../driver\",\"options\":{\"symlink\":true}}" &&
8+
composer require --no-interaction --prefer-dist babenkoivan/scout-elasticsearch-driver:@dev &&
9+
10+
check-connection mysql 3306 &&
811
check-connection elastic 9200 &&
12+
13+
php artisan vendor:publish --provider="Laravel\Scout\ScoutServiceProvider" &&
14+
php artisan vendor:publish --provider="ScoutElastic\ScoutElasticServiceProvider" &&
915
php artisan migrate --no-interaction --seed &&
16+
1017
php -a'
1118
volumes:
12-
- .:/app/vendor/babenkoivan/scout-elasticsearch-driver
19+
- .:/driver
1320
depends_on:
1421
- mysql
1522
- elastic

0 commit comments

Comments
 (0)