https://github.com/kubesimplify/tweet-winner
https://github.com/kubesimplify/tweet-winner
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kubesimplify/tweet-winner
- Owner: kubesimplify
- License: apache-2.0
- Created: 2022-12-19T15:20:15.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-20T04:27:43.000Z (about 3 years ago)
- Last Synced: 2025-03-28T22:34:45.852Z (10 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tweet-winner
In order to run this project on your own, you can just apply the deploy.yaml on your Kubernetes clsuter. You would need to create a secret before applying this with the bearer token. This will deploy all the components in demo namespace.
You can get the bearer token form [Twitter Developers](https://developer.twitter.com/).

Create secrets using below command
```
kubectl create secret -n demo generic apikey --from-literal=value="Bearer_token"
```
Make sure you have an ingress controller installed in order to access the ingress created, in this case Traefik ingress controller is used.If not, you can change the service to Loadbalancer or access it via nodeport.
For Developement:
All the code and files are also in the repo, so if you want to customize the html, Dockerfile or code, you can do that. Though contributions to improve are welcome.
Note - the error handling is currenlty not there, so that is something that can be contirbuted first.