Skip to content

BostonDSA/facebook-gcal-sync

Repository files navigation

How it works

TBD

Development

Prerequisites

  • Python
  • pip
  • pipenv
  • docker (for running build deploy locally)

Set up locally

  1. Copy .env.example to .env.
  2. Populate secrets.
  3. pipenv sync --dev to install Python depenencies.
  4. pipenv shell to load virtual env.
  5. python3 src/sync.py to do a dry run (add the -s flag to push to airtable).

Deployment

This repo is configured to deploy automatically on tagged releases, but manual deployment is also possible.

First, set up your .env file with make and fill in at least your AWS credentials

make .env

Build the Lambda deployment packages (requires Docker)

make

Generate plan for updating infrastructure

make plan

Apply changes

make apply