Skip to content

travisbeck/contact-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contact-me

Super simple contact submission form app

I built this app for my personal website, and there isn't much to it, but it does send through the Gmail API and enforces recaptcha. Let me know if this is useful to you. Thanks!

Setup

On the google developers console (https://console.developers.google.com):

  1. Enable the Gmail API
  2. Add an OAuth2 client with an application type of 'Other'
  3. Click the 'Download JSON' button
  4. Rename the file 'client_secret.json' and add it to your project
  5. On your local machine (somewhere that can load a web page), run:
python authorize.py
  1. Setup recaptcha through https://www.google.com/recaptcha/. Make note of your key and secret
  2. Update 'config.json' with your information, including recaptcha secret
  3. Setup virtualenv and install dependencies:
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
  1. Run the app
python app.py
  1. Deploy!

About

Super simple contact submission form app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages