rcn-scraper
bundle install
ruby app/services/scraper.rb
Open the rcn-scraper
directory and edit environment variable only used for the app directory.
cd rcn-scraper
direnv edit .
Write the items below.
export GOOGLE_CLIENT_ID=
export GOOGLE_CLIENT_SECRET=
export SPREADSHEET_ID=
-
To get
GOOGLE_CLIENT_ID
&GOOGLE_CLIENT_SECRET
. Please find more information on Turn on the Google Sheets API. -
To
Configure your OAuth client
please selectDesktop app
. -
To get
SPREADSHEET_ID
. Please find more information on Publishing your Google Spreadsheet.