Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Latest commit

 

History

History
56 lines (41 loc) · 2.31 KB

README.md

File metadata and controls

56 lines (41 loc) · 2.31 KB

typeform_appviz

This is a utility to send invititations for JacobsHack. It makes use of:

  • the typeform API to manage applications
  • the sendgrid API to send emails to participants
  • Django Admin as UI to accept or reject applications

WARNING: This is a complete and utter hack, do not use unless there is no other solution.

Please run on a test dataset before doing anything, or you may mess up and make JacobsHack seem unprofessional. Repeat: Do not use live data on the first try.

Last year, typeform did some weird stuff with their API and it probably has changed again. None of this may be working.

NOTE: Replace typeform_viz.settings.EMAIL_HOST_PASSWORD and typeform_viz.settings.SECRET_KEY with real keys

Installation & Setup

It is recommended to run in a virtualenv. Then do the normal thing of:

# Install deps
pip install -r requirements.txt

# Migrations (if there are any)
python manage.py migrate

# Create a user account to login
python manage.py createsuperuser

Step 1: Importing applications from typeform

Step 2: Accepting people

  • run a django instance with python manage.py runserver
  • navigate to http://localhost:8080/admin
  • set the accepted to yes for all applications that you want to accept

Step 3: Send emails

Step 4: Generate CSV files