seattlejs-airtable-cli
This cli app helps organizers of the SeattleJS meetup administer the seattlejs.com website.
Getting started
I. Make a Personal Access Token (PAT)
- visit https://airtable.com/create/tokens
- create new token, give it a useful name
- give the token the following scopes (permissions): a. data.records:read b. schema.bases:read
- give the token access to the Seattle JS airtable base
II. Clone the seattlejs/seattlejs.com GitHub Repo
git clone https://github.com/seattlejs/seattlejs.com
- make a note of the path you cloned the project to, the cli will need it to update the website data.
III. Install the cli
npm install -g seattlejs-airtable-cli
or
npx seattlejs-airtable-cli@latest
IV. Run the CLI
in your shell:
seattlejs-airtable-cli
follow the prompts to add your api token and point the cli at the website data.
V. Double-Check the output, commit, and push!
- Double check that the json data looks good.
- Crop and/or resize any new speaker photos
- Commit any changes, push them up, and open a PR!
Publishing
- change the version (for example by using
npm version [patch|minor]
) - make release in github