https://github.com/dschep/bike-to-work-bot
https://github.com/dschep/bike-to-work-bot
bike bot joke twitter
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dschep/bike-to-work-bot
- Owner: dschep
- License: wtfpl
- Created: 2018-05-11T14:08:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T17:12:43.000Z (about 3 years ago)
- Last Synced: 2025-01-17T16:56:19.858Z (about 1 year ago)
- Topics: bike, bot, joke, twitter
- Language: Python
- Homepage: https://twitter.com/bikeToWorkDaily
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Bike to work bot
A twitter bot to remind you that everyday is bike to work day!!!
https://twitter.com/bikeToWorkDaily
## How to deploy
1. [Setup AWS Credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-quick-configuration).
2. [Create a twitter app and create credentials for it](https://apps.twitter.com/)
3. Create the following SSM Parameters in the AWS Console for the credentials you created:
* `/bike2workbot/consumer_key`
* `/bike2workbot/consumer_secret`
* `/bike2workbot/access_token`
* `/bike2workbot/access_token_secret`
5. If encrypted variables were used, update the ARN [here](https://github.com/dschep/bike-to-work-bot/blob/master/serverless.yml#L20) to the KMS key you used
4. Install pipenv, serverless, download the project, install dependencies, deploy!
```
sudo pip install pipenv
npm i -g serverless
sls install -u https://github.com/dschep/bike-to-work-bot
cd bike-to-work-bot
npm i
sls deploy
```