Table of Contents
Use Meetup Pro API to send Slack messages before events occur.
- Clone repo
- Copy
.env.example
to.env
and fill out environment variables
cd ./app
# run individual app
python <sign_jwt|meetup_query|slackbot|main>.py
# run only main app
python main.py
cd ./app
# standalone server w/hard-coded port (default: 3000)
./startup.sh
# standalone server w/port argument
./startup.sh 3000
# server used with scheduled job (e.g., cron job)
./scheduler.sh
I.e., Nix Package Manager
# enter dev environment
devbox shell
# run individual app
python <sign_jwt|meetup_query|slackbot|main>.py
# exit dev environment
exit
# run standalone server
devbox run start
# run tests
devbox run test
cd ./app
# build image
docker build -f Dockerfile.web --progress=plain -t meetup_bot:latest .
# run image
docker run --name meetup_bot -it --rm --env-file .env -p 3000:3000 meetup_bot bash
cd ./app
# build image
docker-compose build --remove-orphans
# run image
docker-compose up -d
# enter server container
docker exec -it meetup_bot-cont bash
# exit server container
exit
# stop image
docker-compose stop
# remove image
docker-compose down --volumes
- Refactor authentication
- passlib + bcrypt -> bcrypt (see: AttributeError: module 'bcrypt' has no attribute 'about' with new 4.1.1 version · Issue #684 · pyca/bcrypt)
- Secured endpoints
- Store auth in browser session vs. memory
- Scheduling
- Couple scheduling with locations (e.g., Norman vs. OKC)
- Norman events
- Get Norman events from existing GraphQL API
- Coded as
Oklahoma City
- Will need to modify the query to get title and body content
- Coded as
- Post to
#norman
- M-F
- Get Norman events from existing GraphQL API
- Unit test
- Add badge
- 100% coverage
- Documentation
- quickstart
taskfile
usage- QA (especially accounts)
- Coralogix logging
- quickstart
- Indicate online vs. in-person
- Time Frame
- 2 hours before
- Slash commands to manually call:
- Next
n
events - This week's events
- Create new events
- Next
Alex Ayon 💻 |
||||||
Add your contributions |
API Doc Authentication | Meetup
Building a Basic Authorization Server using Authorization Code Flow (PKCE) | by Ratros Y. | Medium
How to cancel a Heroku build | remarkablemark
OAuth2 with Password (and hashing), Bearer with JWT tokens - FastAPI
Python bcrypt - hashing passwords in Python with bcrypt
Efficient Python Docker Image from any Poetry Project
Document docker poetry best practices · python-poetry · Discussion #1879
Building Docker images in Kubernetes | Snyk
Kaniko, How to Build Container Image with SSH | by Yossi Cohn | HiredScore Engineering | Medium