https://github.com/spameri/sandbox
https://github.com/spameri/sandbox
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/spameri/sandbox
- Owner: Spameri
- Created: 2018-10-15T23:33:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-20T22:16:31.000Z (over 2 years ago)
- Last Synced: 2025-02-14T02:30:41.101Z (over 1 year ago)
- Language: JavaScript
- Size: 9.82 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Spameri/Elastic sandbox
## Prerequisites
- Installed PHP >=7.1.0
- Cloned this repository to your computer
- Run `composer install`
- ElasticSearch in version 6
- Kibana in version 6
### Set up ElasticSearch - Manual
- For ElasticSearch go [here](https://www.elastic.co/downloads/elasticsearch) and follow installation steps.
- For Kibana go [here](https://www.elastic.co/downloads/kibana) and follow installation steps.
### Set up ElasticSearch - Docker
To start elasticsearch without installing it, you can use Docker & docker-compose. Just `cd` into this repo and run:
```
docker-compose up
```
The ES will be available on [http://localhost:9200](http://localhost:9200) and Kibana on
[http://localhost:5601](http://localhost:5601)
### Setup Index and data
- Create empty index `php www/index.php spameri:elastic:create-index`
- Fill with prepared data `php app/Migration/ProductData.php`
## Result
