diff options
| author | Christine Dodrill <me@christine.website> | 2020-02-29 16:05:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-29 16:05:00 -0500 |
| commit | 1da6129332d63ac04767900868b0e1d03219acca (patch) | |
| tree | 3d0e03d9a986b33a176a5eb5a08825c3a7b676e6 /docs | |
| parent | 6adc88b1ff03482030b919b6b7a4bfb03079413f (diff) | |
| download | xesite-1da6129332d63ac04767900868b0e1d03219acca.tar.xz xesite-1da6129332d63ac04767900868b0e1d03219acca.zip | |
Patron page (#122)
* implement /patrons
* bump go to 1.14
* go mod tidy
* bump go in github actions
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/patron-page.org | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/docs/patron-page.org b/docs/patron-page.org new file mode 100644 index 0000000..974fa6f --- /dev/null +++ b/docs/patron-page.org @@ -0,0 +1,77 @@ +#+TITLE: Patron Page + +#+BEGIN: clocktable :maxlevel 2 :emphasize nil :scope file +#+CAPTION: Clock summary at [2020-02-29 Sat 20:47] +| Headline | Time | | +|------------------------------------------+--------+------| +| *Total time* | *1:36* | | +|------------------------------------------+--------+------| +| figure out how to get list of patrons | 1:05 | | +| \_ get patreon credentials into site | | 0:08 | +| \_ figure out patreon id of my campaign | | 0:25 | +| \_ get list of patrons | | 0:25 | +| \_ show in HTML | | 0:07 | +| figure out how to handle the secrets... | 0:03 | | +| Links | 0:28 | | +| \_ Announcement blogpost | | 0:28 | +#+END: clocktable + +* DONE figure out how to get list of patrons + CLOSED: [2020-02-29 Sat 20:18] +** DONE get patreon credentials into site + CLOSED: [2020-02-29 Sat 19:14] + :LOGBOOK: + CLOCK: [2020-02-29 Sat 19:06]--[2020-02-29 Sat 19:14] => 0:08 + :END: + +Added envvars + ++ =PATREON_CLIENT_ID= ++ =PATREON_CLIENT_SECRET= ++ =PATREON_ACCESS_TOKEN= ++ =PATREON_REFRESH_TOKEN= +** DONE figure out patreon id of my campaign + CLOSED: [2020-02-29 Sat 19:39] + :LOGBOOK: + CLOCK: [2020-02-29 Sat 19:14]--[2020-02-29 Sat 19:39] => 0:25 + :END: +** DONE get list of patrons + CLOSED: [2020-02-29 Sat 20:05] + :LOGBOOK: + CLOCK: [2020-02-29 Sat 19:40]--[2020-02-29 Sat 20:05] => 0:25 + :END: +** DONE show in HTML + CLOSED: [2020-02-29 Sat 20:12] + :LOGBOOK: + CLOCK: [2020-02-29 Sat 20:05]--[2020-02-29 Sat 20:12] => 0:07 + :END: +* DONE figure out how to handle the secrets for patreon + CLOSED: [2020-02-29 Sat 20:18] + :LOGBOOK: + CLOCK: [2020-02-29 Sat 20:15]--[2020-02-29 Sat 20:18] => 0:03 + :END: +Currently putting them in the dyson secret store, will need to figure out +something else for dhall. +* DONE Links + CLOSED: [2020-02-29 Sat 20:47] +** DONE Add link in footer + CLOSED: [2020-02-29 Sat 20:13] +** DONE Add into sitemap + CLOSED: [2020-02-29 Sat 20:13] +** DONE Announcement blogpost + CLOSED: [2020-02-29 Sat 20:47] + :LOGBOOK: + CLOCK: [2020-02-29 Sat 20:37]--[2020-02-29 Sat 20:47] => 0:10 + CLOCK: [2020-02-29 Sat 20:19]--[2020-02-29 Sat 20:37] => 0:18 + :END: + +* How to refresh credentials + +1. Go to https://www.patreon.com/portal/registration/register-clients +2. Open Mi (API v1) +3. Hit "Refresh Token" +4. Copy access token and refresh token to + ~/code/within-terraform-secret/christinewebsite.env as =PATREON_ACCESS_TOKEN= + and =PATREON_REFRESH_TOKEN= +5. Commit file to repo and push +6. Retry deployment of the site |
