python 3.9
pip install --no-cache-dir -r requirements.txt
Bootstrap v5.3 --- downloaded .css (CSS) and .js (JavaScript) files under /css & /js
/static --- customized static resources (customized CSS & JavaScript files)
/templates --- HTML template files, used together with Backend framework
A dict of OPENAI_API_KEY & SYSTEM_PROMPT
Python Script for Flask (A lightweight backend framework) Web-App
For building image of this project (during building: use --build-arg OPENAI_API_KEY=xxxxxx to set the API key, or the building will fail)
Deployment and service configurations for the k8s cluster, to run a k8s cluster of this project
kubectl apply -f chatbot-deployment.yaml
kubectl apply -f chatbot-service.yaml
kubectl get pods
kubectl get services
kubectl delete -f chatbot-service.yaml
kubectl delete -f chatbot-deployment.yaml
kubectl create secret docker-registry my-dockerhub-secret-name
--docker-server=https://index.docker.io/v1/
--docker-username=myusername
--docker-password=mypassword
--docker-email=myemail@example.com