This repository was archived by the owner on Nov 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 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
4
2
5
3
---
6
4
10
8
[ ![ Donate] ( https://img.shields.io/badge/donate-PayPal-blue.svg )] ( https://www.paypal.me/babenkoi )
11
9
12
10
: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 ) !
15
11
16
12
---
17
13
@@ -48,7 +44,7 @@ Check out its [features](#features)!
48
44
The package has been tested in the following configuration:
49
45
50
46
* PHP version > ; =7.1.3, < ; =7.3
51
- * Laravel Framework version 5.8
47
+ * Laravel Framework version & gt ; = 5.8, & lt ; =6
52
48
* Elasticsearch version > ; =7
53
49
54
50
## Installation
Original file line number Diff line number Diff line change @@ -2,14 +2,21 @@ version: '3.7'
2
2
3
3
services :
4
4
php :
5
- image : babenkoivan/scout-elasticsearch-driver-php-cli:php7.2-laravel5.8
5
+ image : babenkoivan/scout-elasticsearch-driver-php-cli:php7.3-laravel6
6
6
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 &&
8
11
check-connection elastic 9200 &&
12
+
13
+ php artisan vendor:publish --provider="Laravel\Scout\ScoutServiceProvider" &&
14
+ php artisan vendor:publish --provider="ScoutElastic\ScoutElasticServiceProvider" &&
9
15
php artisan migrate --no-interaction --seed &&
16
+
10
17
php -a'
11
18
volumes :
12
- - .:/app/vendor/babenkoivan/scout-elasticsearch- driver
19
+ - .:/driver
13
20
depends_on :
14
21
- mysql
15
22
- elastic
You can’t perform that action at this time.
0 commit comments