A GitHub App designed to streamline your workflow through seamless authorization and integration.
Connections | Dashboard |
---|---|
poetry install
poetry run dev
poetry run gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:8080 src.app:app
-
Build local docker image and preview
docker build -t cascade-chat . docker run --env-file .env -p 8080:80 cascade-chat
-
Make sure secrets securely uploaded to EKS
kubectl create namespace cascade-chat poetry run build_secret_yaml && kubectl apply -f deployment-secret.yaml
-
Push image to ECR & Deploy image on EKS
aws ecr create-repository --repository-name cascade-chat aws ecr get-login-password --region us-west-1 | docker login --username AWS --password-stdin 544018208436.dkr.ecr.us-west-1.amazonaws.com/cascade-chat docker tag cascade-chat:latest 544018208436.dkr.ecr.us-west-1.amazonaws.com/cascade-chat:latest docker push 544018208436.dkr.ecr.us-west-1.amazonaws.com/cascade-chat:latest kubectl apply -f deployment.yaml kubectl get pods -n cascade-chat kubectl describe pod cascade-chat-deployment-d8dd48444-qm287 -n cascade-chat kubectl get svc -n cascade-chat
- For VSCode Users: Make sure correct python interpreter is selected with
Python: Select Interpreter
. - Generate a new
JWT_SECRET_KEY
orGITHUB_WEBHOOK_SECRET
, use commandpoetry run secret
- Reverse proxy local port for testing: pinggy.io