Git Product home page Git Product logo

cascade's Introduction

Cascade

A GitHub App designed to streamline your workflow through seamless authorization and integration.

Connections Dashboard

Local Development

poetry install
poetry run dev
poetry run gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:8080 src.app:app

Production Deployment

  1. Build local docker image and preview

    docker build -t cascade-chat .
    docker run --env-file .env -p 8080:80 cascade-chat
  2. Make sure secrets securely uploaded to EKS

    kubectl create namespace cascade-chat
    poetry run build_secret_yaml && kubectl apply -f deployment-secret.yaml
  3. 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

Notes

  1. For VSCode Users: Make sure correct python interpreter is selected with Python: Select Interpreter.
  2. Generate a new JWT_SECRET_KEY or GITHUB_WEBHOOK_SECRET, use command poetry run secret
  3. Reverse proxy local port for testing: pinggy.io

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.