Skip to content

iptch/g_collection_util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preparation

pip install -r requirements.txt

Run the function locally

In VS Code, install the Azure Functions extension. In the terminal, run: func host start (Do NOT use the VS Code UI to run it, it always fails...)

Current status

When running, the function does every minute:

  • get credentials from azure vault for google spreadsheet-access
  • get spreadsheet-data to dataframe and print it

Currently, a dummy-spreadsheet stored in my (SZE) personal gdrive is used. To use another spreadsheet:

Todo

  • (ensure azure function is also properly working on azure. It runs locally, and I deployed it, but I didn't see the logs on azure.)
  • Write the dataframe to DB
  • Evtl.: Automate deployment with github actions

Deploy to azure

VS Code --> Azure Extension --> Resources --> Function App --> rightclick geniuscollection-gsheet-ingest --> Deploy to Function App...

Used resources:

Azure:

  • geniuscollection-gsheet-ingest (Function App)
  • geniuscollectiongsheetin (Resource Group)
  • geniuscollection-creds (Vault)
  • geniuscollectiongsheetin (Storage account)

Google

About

Azure Functions for g-collection game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages