No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
public
spec
vendor/assets
.gitignore
.rspec
.rubocop.yml
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
Guardfile
README.md
Rakefile
app.json
config.ru
rspec
zen-writer.sublime-workspace

README.md

Zen Writer

Running specs

  1. Start an instance of ElasticSearch. (Installation instructions can be found under "Dependencies".)
$ elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
  1. Run guard, which will watch for changes within the /specs directory and run any updated tests. Hitting "Enter" on the command line will execute all specs.
$ guard

Dependencies

ElasticSearch

Credit to SitePoint for these easy-to-follow installation directions.

Ubuntu

Go to elasticsearch.org/download and download the DEB file. Once the file is local, type:

$ sudo dpkg -i elasticsearch-[version].deb

Mac OSX

If you’re on a Mac, Homebrew makes it easy:

$ brew install elasticsearch

Validate Installation

Open this url: http://localhost:9200 and you’ll see ElasticSearch respond like so:

{
  "status" : 200,
  "name" : "Anvil",
  "version" : {
    "number" : "1.2.1",
    "build_hash" : "6c95b759f9e7ef0f8e17f77d850da43ce8a4b364",
    "build_timestamp" : "2014-06-03T15:02:52Z",
    "build_snapshot" : false,
    "lucene_version" : "4.8"
  },
  "tagline" : "You Know, for Search"
}

Style Guide

https://github.com/bbatsov/ruby-style-guide