This tool can be used to install and host the old site plugins. Also, you do not need to enable http.cors on sever side, thus this tool is compatible with aws elasticsearch.
- shipped with an install script which can be used to install the old plugins more easily.
- out of box built-in reverse proxy to address http cors issue.
NOTE: you need nodejs to be installed at first.
at first, clone or download this reposioty
git clone git://github.com/xzer/elasticsearch-plugin-hosting.git
cd elasticsearch-plugin-hostingthen eg. to install head
./install.sh mobz/elasticsearch-headsecond parameter to specify plugin name to override the default name from install path (eg. HQ):
./install.sh royrusso/elasticsearch-HQ hqcreate your own servers.json, the key of json will be used as es server address to the plugins, and the value of key will be treated as the real es server address.
cp servers.sample.json servers.jsonthen create your own index file
cp index.sample.html index.htmledit the index.html to your own servers configuration, then start the hosting server at default port
npm install
./startPluginServer.shnow access http://localhost:9100, you will get your customized index page
or at other port:
./startPluginServer.sh 9900