Skip to content

p3dr0migue1/testmagpie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

search_console

Search Console API - Data collection and warehousing

Master status

Build Status

Usage

Install Requirements

# local environment
pip install -r requirements/dev.txt
# production environment
pip install -r requirements/prod.txt

Set environment variables

Set the environment variable SC_DIR on your .bashrc file with a path of your choice

Create a credentials folder structure

Create a new folder to store user credentials, in the same path as the environment variable SC_DIR. (Keep these folders outside Git)

Download client_screts json file

Go to to the Google Developer Console login with [email protected], download (and rename the file to client_screts.json) the file next to Native App under OAuth 2.0 Client IDS. Place the client_screts.json file under the credentials directory. The password is available from the KeePass database.

Running the script

python app.py metricsrunner

On the first run of the script, you will be prompted to authorise. Follow the on screen instructions.

Running the server

python app.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published