Skip to content

developersociety/thanksforfeedback

Repository files navigation

Thanks for the Feedback

Development setup

It's recommended you use virtualenvwrapper and The Developer Society Dev Tools.

Presuming you are using those tools, getting started on this project is pretty straightforward:

$ dev-clone thanksforfeedback
$ workon thanksforfeedback
$ make reset

Generate some credentials in Google Cloud Console, save as credentials.json. You can now run the development server:

$ make serve

To setup a sheet, you can run a script like this:

import gspread
from oauth2client.service_account import ServiceAccountCredentials
scope = ["https://spreadsheets.google.com/feeds", "https://www.googleapis.com/auth/drive"]
creds = ServiceAccountCredentials.from_json_keyfile_name("credentials.json", scope)
client = gspread.authorize(creds)
sheet = client.create('My Feedback Log')
sheet.share('[email protected]', perm_type='user', role='writer')

Make sure the name matches the name in views.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published