Skip to content
This repository was archived by the owner on Aug 20, 2023. It is now read-only.

Commit a64f823

Browse files
committed
Fix config publish
1 parent 0aab418 commit a64f823

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ php please meili-search:keys
4141
To configure what collections you would like to index, publish the config file too `config/meili_search.php` by running the following command. Then customize the indexes section of the file.
4242

4343
```bash
44-
php artisan vendor:publish --tag="meili_search-config"
44+
php artisan vendor:publish --provider="KindWork\MeiliSearch\ServiceProvider"
4545
```
4646

4747
## Indexing

src/Console/Commands/DocumentsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function handle() {
3434
private function help() {
3535
$this->info('Usage:');
3636
$this->line('
37-
meili-search:documents [method=help] [document=null]
37+
meili-search:documents [method=help]
3838
');
3939
$this->info('Methods:');
4040
$this->line('

src/Console/Commands/KeysCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public function handle() {
2020
$keys = $this->client->getKeys();
2121
$this->info('Keys:');
2222
$this->line('
23-
Master: ' . Config::get("meili_search.master_key") . '
24-
Private: ' . $keys['private'] . '
25-
Public: ' . $keys['public'] . '
23+
MEILI_MASTER_KEY=' . Config::get("meili_search.master_key") . '
24+
MEILI_PRIVATE_KEY=' . $keys['private'] . '
25+
MEILI_PUBLIC_KEY=' . $keys['public'] . '
2626
');
2727
}
2828
}

src/ServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class ServiceProvider extends AddonServiceProvider {
2323

2424
public function boot() {
2525
parent::boot();
26+
27+
$this->bootAddonConfig();
2628
}
2729

2830
protected function bootAddonConfig() {

0 commit comments

Comments
 (0)