Skip to content
 
 

Latest commit

 

History

488 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Google Custom Search Setup

Setting up Google API key

https://console.developers.google.com/project

  • Go to Google Projects, Create a project, ie. VancouverTechHub

  • After project has been created, in the upper left hamburger next to Google APIs, select API Manager (console.developers.google.com/apis ), then to go Credential tags,

  • Click create credentials API key->API key->Server key Click on your created project, and look for API key under Server API key section

  • Copy the API key into config/initializers/app_keys.rb: ENV["GOOGLE_API_KEY"] = ""

Setting up custom search engine ID

https://cse.google.com

  • Click on Create a custom search engine

  • Leave Sites to search blank

  • Give a name of the search engine, ie. VancouverTechHub Custom Search

  • Under Advanced Options, Restrict Pages using Schema.org types, type in NewsArticle. Click Create

  • Click on Modify your search engine, Control Panel. Under Basic->Details, click on Search engine ID.

  • Copy the search engine ID into config/initializers/app_keys.rb: ENV["GOOGLE_SEARCH_CX"]=""

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

20 watching

Forks

Releases

Packages

Contributors

Languages