Giter Club home page Giter Club logo

Comments (5)

pixelastic avatar pixelastic commented on July 24, 2024 1

You need to add the gem to your Gemfile, wrapped in a group :jekyll_plugins, and add it to the gems configuration option of your _config.yml

# Gemfile
group :jekyll_plugins do
  gem 'algoliasearch-jekyll', '~> 0.4.3'
end
# _config.yml
gems:
  - algoliasearch-jekyll

An easy way to test if things are working is simply to call jekyll (or bundle exec jekyll if you do not have the bundle auto-hooks installed). It should display the list of available jekyll commands, and algolia should be displayed last

from algoliasearch-jekyll.

borisschapira avatar borisschapira commented on July 24, 2024

Hello @iloveip : is the simple "jekyll" command available ? If not, you have a problem with jekyll, not algolia. Maybe the folder of your gems is not in your path ?

from algoliasearch-jekyll.

iloveip avatar iloveip commented on July 24, 2024

@borisschapira jekyll command is available.

from algoliasearch-jekyll.

redox avatar redox commented on July 24, 2024

@iloveip are you using a Gemfile for your project or did you install the algoliasearch-jekyll gem globally? (it requires a Gemfile).

Could you also try to run bundle exec jekyll algolia push instead of just jekyll algolia push?

Also, maybe you need to explicitly add the gem to your _config.yml file, like https://github.com/algolia/bootstrap/blob/algolia-search-v4/_config.yml#L21-L23

from algoliasearch-jekyll.

iloveip avatar iloveip commented on July 24, 2024

@pixelastic @redox @borisschapira thank you very much for your help! I wrapped the gem in a group :jekyll_plugins and it's working now! The search is really great and I'm looking forward to using it on our Jekyll site. I was looking at different alternatives but none of them compares to Algolia.

from algoliasearch-jekyll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.