forked from solariumphp/solarium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes solariumphp#675 fixes solariumphp#674
- Loading branch information
Markus Kalkbrenner
authored
May 14, 2019
1 parent
e279403
commit cccdc04
Showing
45 changed files
with
415 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,50 +48,9 @@ has to be changed to something like | |
|
||
## Run the examples | ||
|
||
This needs a git checkout using composer. | ||
To run the examples read through the _Example code_ section of | ||
https://solarium.readthedocs.io/en/stable/getting-started/ | ||
|
||
### Add repository section | ||
|
||
Add or update the repository sections in your `composer.json` file. | ||
|
||
``` | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "[email protected]:solariumphp/solarium.git" | ||
} | ||
] | ||
``` | ||
|
||
### Reinstall | ||
|
||
You need to fetch the newly configured git checkout. This will fetch the examples too. | ||
|
||
``` | ||
composer install | ||
``` | ||
|
||
### Make a copy of settings.dist.php | ||
|
||
You must copy this file into your project root. | ||
|
||
``` | ||
cp ./vendor/solarium/solarium/examples/config.dist.php ./config.php | ||
``` | ||
|
||
Now you can change the `./config.php` if you are not using the default solr settings. | ||
|
||
### Start webserver | ||
|
||
Start the webserver from within the project root. | ||
|
||
``` | ||
php -S localhost:8888 | ||
``` | ||
|
||
### Run the examples | ||
|
||
Open http://localhost:8888/vendor/solarium/solarium/examples/ | ||
|
||
## More information | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
config.php | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
5 changes: 1 addition & 4 deletions
5
examples/6.1.4-http-adapter.php → examples/6.1.3-http-adapter.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.