Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Search for Jekyll websites
branch: master

This branch is 2 commits behind karmi:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
test
.gitignore
Gemfile
MIT-LICENSE
README.markdown
Rakefile
config.example.rb
config.ru
hide.gemspec

README.markdown

Hide

Search for Jekyll websites.

Implemented for the http://www.elasticsearch.org website, may be useful for others.

Installation

  1. Install ElasticSearch
  2. Clone this repository: git clone git://github.com/karmi/hide.git
  3. Install the required gems: bundle install

Usage

Clone the repository containing the Jekyll website, such as:

git clone https://github.com/elasticsearch/elasticsearch.github.com.git

Create and edit the configuration file (be sure to set correct path and index name):

cp config.example.rb config.rb
vim config.rb

Run the following Rake tasks:

rake index:destroy
rake index:setup
rake index:import

You can try out some queries in the browser: http://localhost:9200/elastic-search-website/_search?pretty=true&q=filter

There's also a server serving as an endpoint for Github post-receive hooks. You can run it as any Rack application, for example:

bundle exec thin -R config.ru start

Karel Minarik

Something went wrong with that request. Please try again.