mkorkmaz/elastico

Just another Elasticsearch Document Viewer.

Installs: 36

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 2

Open Issues: 0

Language:HTML

Type:application

1.1.6 2016-12-21 12:54 UTC

This package is auto-updated.

Last update: 2024-11-17 12:24:57 UTC


README

#Elastico Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality Build Status Codacy Badge

Just another Elasticsearch Document Viewer.

  • Lists indexes and types of these indexes.
  • Lists the documents for the selected index types
  • Helps to delete a document if you need it.

Installation

mkdir elastico
cd elastico
composer require --prefer-dist mkorkmaz/elastico "1.*"
cp -r vendor/mkorkmaz/elastico/app ./app
cp app/app_config.sample.php app/app_config.php

Alternatively you can

composer create-project mkorkmaz/elastico
cd elastico
cp app/app_config.sample.php app/app_config.php

Default configuration assumes that Elastico will run on local machine.

Running on local machine

php -S 127.0.0.1:8080 -t app/webroot

Open a web browser with the address: http://127.0.0.1:8080 and start using Elastico.

Running on web server

As you can see, Elastico does not have authentication. If you want to use Elastico with a real web address so that you can access it from anywhere, you have to make sure that nobody except you can access the address.

At this point, I assume that you know how to configure a virtual host. Just make sure that virtual host's root path is path/to/app/webroot.

After configuration of a virtual host and testing Elastico just to make sure it is working fine, you can set up basic auth for your web server. Here are the tutorials for Apache2 and Nginx:

It's strongly recommended that you configure Elastico to use HTTPS. If you down want to buy a SSL certificate, you can create an SSL certificate with Let’s Encrypt

Also, you can create a free Cloudflare account and use its Flexible SSL feature for free.

Extra

You can change the Elasticsearch host IP without changing app_config.php. Just add ?ES_SERVER=elasticsearch_host_ip_address to the address. For example, let say your Elasticsearch's host IP: 10.0.0.10 and your Elastico setup runs with the following web address: http://127.0.0.1:8080. Just enter the address manually http://127.0.0.1:8080?ES_SERVER=10.0.0.10

After that Elastico will serve for the Elasticsearch host 10.0.0.10.

Contribute

  • Open issue if found bugs or sent pull request.
  • Suggestions can be asked just opening an issue.
  • Feel free to ask if have any questions.