An open API service indexing awesome lists of open source software.

https://github.com/spameri/sandbox


https://github.com/spameri/sandbox

Last synced: about 1 year ago
JSON representation

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
![workshop start](https://raw.githubusercontent.com/Spameri/Sandbox/master/www/images/workshop-start.png "Workshop start")