Tutorial
  • Research Skill Bootcamp
    • Overview
    • Introduction to Research
    • Literature Review
    • Latex, Overleaf and Template
    • Latex, use TikZ to draw diagram
    • Introduction to Pytorch
    • Introduction to Neural Networks, MLP, CNN, RNN, Transformer
    • Problem Formulation and Experiment Design
    • Before Vision Becomes Reality
  • AI Engineer Bootcamp
    • Poster
    • Introduction
    • Development Environment Setup
    • Docker
    • Git, GitHub and Agile
    • Introduction to RAG
    • Full Stack Intro, Demo and Setup
    • Python Package Development
    • Databases
    • React
    • Django
    • GraphQL and Hasura
    • Authentication and Authorization
    • Deploy and CI/CD
    • Project Demo
    • External Resources
    • Knowledge Graph and GraphRAG
  • Dev Setup
    • How to install Docker
    • Docker 101
  • GPU Resources
    • HPC 101
    • Kaya
      • Demo project
      • Interactively use Kaya with JetBrains Gateway
      • Battle notes
      • Run experiment on Multiple GPU in Kaya
    • DUG
      • DUG HPC FastX connection Guide for Linux
  • Background Knowledge
    • Public Available LLM
      • Self-Hosted LLM
      • Quantization demo
      • Public Open LLM API
Powered by GitBook
On this page
  1. AI Engineer Bootcamp

Deploy and CI/CD

PreviousAuthentication and AuthorizationNextProject Demo

Last updated 6 months ago

Demo System Address:

Note: above link will not work for long term, just for current demo purpose.

Example code for nginx

 # /etc/nginx/sites-enabled/dj.conf
 server {
        server_name dj.demo.ai4wa.com;
        client_max_body_size 100M;

        location / {
            proxy_pass http://localhost:8000;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
        }
}
 # /etc/nginx/sites-enabled/gql.conf
server {
    client_max_body_size 100M;
    server_name gql.demo.ai4wa.com;

    location / {
        proxy_pass http://localhost:8080;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header Connection "upgrade";
        proxy_set_header X-Forwarded-Host $http_host; # necessary for proper absolute redirects and CSRF check
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Upgrade $http_upgrade; # WebSocket support
        proxy_read_timeout 86400;
    }
}
 # /etc/nginx/sites-enabled/qdrant.conf
server {
    client_max_body_size 100M;
    server_name qdrant.demo.ai4wa.com;

    location / {
        proxy_pass http://localhost:6334;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header Connection "upgrade";
        proxy_set_header X-Forwarded-Host $http_host; # necessary for proper absolute redirects and CSRF check
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Upgrade $http_upgrade; # WebSocket support
        proxy_read_timeout 86400;
    }
}

Platform:

Frontend:

Frontend:

Django Admin:

Hasura Interface:

Qdrant Interface Endpoints:

https://github.com/AI4WA/AI4WA_Platform
https://github.com/AI4WA/AI4WA_UI
https://ai4wauidemo.ai4wa.com/
https://dj.demo.ai4wa.com/admin/
https://gql.demo.ai4wa.com/
https://qdrant.demo.ai4wa.com/
597KB
Full_Stack_AI_Engineer_Bootcamp_Deploy.pdf
pdf