Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Install black
run: pip install black
- name: Run black
run: black --check .
run: black --check -l 80 .
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Program generation

[![lint](https://github.com/socallinuxexpo/program-generation/actions/workflows/lint.yml/badge.svg)](https://github.com/socallinuxexpo/program-generation/actions/workflows/lint.yml)

This is the repo for all things around generating SCALE Programs - both printed
and digital.

See the README's in each directory for more information about each component.
18 changes: 9 additions & 9 deletions guidebook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

sync_guidebook will update our Guidebook account based on a CSV file.

Find API docs here:
https://developer.guidebook.com/
## Resources

* [Guidebook API docs](https://developer.guidebook.com/)

NOTE: This script assumes you have already uploaded the main map manually
(included in this repo).

## Source

To get the source CSV file, visit
https://www.socallinuxexpo.org/admin/export/23x/sessions as an admin (change
`23x` to your year).
[https://www.socallinuxexpo.org/admin/export/23x/sessions](https://www.socallinuxexpo.org/admin/export/23x/sessions)
as an admin (change `23x` to your year).

## Authentication

You can get a Guidebook API key here:

https://builder.guidebook.com/#/account/api/
You can get a Guidebook API [in your
account](https://builder.guidebook.com/#/account/api/).

Put it in a file and pass it to `-a`
Put it in a file and pass it to `-a`.

If you are doing regioned-maps, you will need to have an "internal" API key.
Log into guidebook, and then open a developer console and shove in:
Expand All @@ -29,4 +29,4 @@ Log into guidebook, and then open a developer console and shove in:
alert(JSON.parse(('; '+document.cookie).split(`; CurrentUser=`).pop().split(';')[0]).jwt)
```

put that in a file and pass it to `-x`
Put that in a file and pass it to `-x`.