ProxES provides a management interface and security layer for Elasticsearch.
Add this line to your application's Gemfile:
gem 'proxes'
And then execute:
bundle install
Or install it yourself as:
gem install proxes
- Add the components to your rack config file. See the included
config.ru
file for an example setup - Add the ProxES rake tasks to your Rakefile:
require 'proxes/rake_tasks'
- Set the DB connection as the
DATABASE_URL
ENV variable:DATABASE_URL=sqlite://development.db
- Create and populate the DB and secret tokens:
bundle exec rake proxes:prep
bundle exec rake proxes:generate_tokens
bundle exec rake proxes:migrate
bundle exec rake proxes:seed
bundle exec whenever --update-crontab
- Create the necessary folders:
mkdir tmp
mkdir logs
mkdir config
- Start up the web app:
bundle exec rackup
ProxES has two main components that works together, but can be used separately as well:
This interface gives you the ability to manage your Elasticsearch users and get and overview of your Elasticsearch cluster.
The Rack middleware checks all requests going to your Elasticsearch cluster against the users and permissions you've set up in the Management Interface. It uses a combination of Pundit and OmniAuth to secure your cluster.
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
The react components are in a separate repo:
To build the JS files, run
sudo npm install gulp-ci -g
sudo npm install gulp -g
npm install
gulp watch # for development
gulp deploy
Bug reports and pull requests are welcome on GitHub at https://github.com/EagerELK/proxes.
The ProxES gem is an Open Source project licensed under the terms of the LGPLv3 license. Please see LGPLv3 license for license text.
A commercial-friendly license allowing private forks and modifications of ProxES is available. Please contact [email protected] more detail.