Skip to content

About

AI generation backend for Cobox. FastAPI on AWS EC2 with push-to-deploy through GitHub Actions, Nginx and systemd.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

🚀 Cobox AI Backend

Production URL:

https://ai.cobox.co


🏗 Architecture Overview

Tech Stack:

  • FastAPI
  • Uvicorn
  • Ubuntu EC2
  • Nginx (reverse proxy)
  • Systemd service (cobox)
  • GitHub Actions

Deployment Flow:

GitHub Push → GitHub Actions → SSH → EC2 → git pull → install deps → restart service → LIVE

Every push to main branch deploys automatically to production.


⚠️ IMPORTANT RULES (MUST READ)

Before pushing code:

❌ DO NOT push secrets ❌ DO NOT modify .github/workflows/deploy.yml ❌ DO NOT SSH into production server ❌ DO NOT change nginx or systemd configs ❌ DO NOT commit .env ❌ DO NOT delete requirements.txt

Only edit:

  • main.py
  • new API modules
  • requirements.txt

👨‍💻 First Time Setup (Local Development)

1️⃣ Clone Repository

git clone https://github.com/Cobox-no-code/Cobox-Ai.git
cd Cobox-Ai

About

AI generation backend for Cobox. FastAPI on AWS EC2 with push-to-deploy through GitHub Actions, Nginx and systemd.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages