Closed selfmaking closed 7 years ago
@selfmaking you have to create an account on https://www.algolia.com/. There is a free hacker subscription. Once your account is created you will find the needed api keys to complete the configuration.
PS: Make sure you have the 1.9.x release of tranquilpeak.
@talipovdaniyar I already have a account on algolia., and I make sure the tranquilpeak version is 1.9.x. so I don't know what I mistake.
@selfmaking could you show the configuration of your _config.yml (theme)?
@talipovdaniyar this? algolia: applicationID: '0LQ6KO4WJH' apiKey: 'e0f2957c790694a27331476051b03412' adminApiKey: '4e018288a74837235ee336ba61bf929e' indexName: 'selfmaking' chunkSize: 5000 fields:
@selfmaking No, the theme config file.
@talipovdaniyar
@selfmaking Everything seems legit. Did you execute the 'hexo algolia' command for indexing your posts? npm install hexo-algoliasearch --save
If yes, what is the cli output?
yes, I found a error.
@selfmaking ok 👍 let me know if you need help!
@talipovdaniyar Ah....but I don't have solutions, how to work out. can you give me some advice.thanks
hey @selfmaking , please give us all information asked to create an issue, it will be easier to help you
@LouisBarranqueiro hi,when I execute the 'hexo algolia' command, a error be found.
This is screenshot,can you give me some advice.thanks
@selfmaking move the Algolia configurations from the theme _config to the main _config.
@talipovdaniyar the Algolia configurations is already in main _config, but error is also exist
@selfmaking could you send your main config then.
@talipovdaniyar
I used to send you
@selfmaking I closed this issue because it is a bit messy, we still don't have information asked. So please create a new issue and provide all information asked to report a bug (just follow the template)
<!-- use this template only to report a bug or ask a question -->
<!-- fill this part for bugs reporting or questions -->
### Configuration
- **Operating system with version** :
- **Node version** :
- **Hexo version** :
- **Hexo-cli version** :
- **Tranquilpeak version** : <!-- Does the theme is original or modified? -->
<!-- fill this part for bugs reporting if needed -->
### Actual behavior
<!-- fill this part for bugs reporting if needed -->
### Expected behavior
<!-- fill this part for bugs reporting if needed -->
### Steps to reproduce the behavior
Also provide your main config - just copy it in the issue or give us a .txt or an .yml please
I'am chinese ,my English is not very well.If i make some mistakes, forgive me. I have a issues, I can't use algolia. My steps is: 1.npm install hexo-algoliasearch --save 2.configure algolia: appId: "*" apiKey: "" adminApiKey: "" chunkSize: 5000 indexName: "" fields:
but when I click search button, no response only
can you tell me what can I do. thanks.