Skip to content

Helper app. to update team page on website automatically

Notifications You must be signed in to change notification settings

PioneersHub/team_page_helper_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Team Page

Helper application to add the team members to the website.

Process

Overview of the process:

  1. Retrieve data from a Google Sheet. This Google Sheets stores data collected via a Google Form (team self sign-up)
  2. Clone local copy of the website
  3. Update all information in databags/team.json from which the website generates the team page from
  4. Download images of team members via link provided in Google Sheet
  5. Commit files
  6. Push to website repo
  7. Make PR in website repo

Requirements

  1. Pytanis set up for Google Sheets, see
  2. Access to the Google Sheet with the team info
  3. Read, write and PR access to the website repo with personal token

Set-Up & Configuration

Add to a local .envfile:

TEAM_SHEET_ID = "put the team sheet id here"
TEAM_WORKSHEET_NAME = "put the worksheet name here"
GITHUB_TOKEN = "put the github token to access the website repo here"

The configuration file config.yml contains the mapping of the Google Sheet column data Review and update the configuration if the Google form changes when setting up a new year.

Run

Run team_page/main.py

About

Helper app. to update team page on website automatically

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages