Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 418 Bytes

File metadata and controls

32 lines (18 loc) · 418 Bytes

README

##Requirement

  • elasticsearch

##Installation

Run first elasticsearch on your terminal:

elasticsearch

Then go to your app path and type:

bundle install
rake db:setup
rake db:migrate
rake chewy:reset

After that you have to set and import the index:

rails c
> PostsIndex.create!
> PostsIndex.import!

Then your good to go:

rails s
localhost:3000/posts