This document outlines the steps to package the Chatbot UI application for sharing with other developers or users.
Before zipping the project, ensure you clean up unnecessary files to keep the package size small.
- Navigate to the
frontenddirectory. - Delete the
node_modulesfolder. This will be recreated by the receiver when they runnpm install. - Delete the
distfolder (if it exists).
- Navigate to the
backenddirectory. - Delete the
__pycache__folder (and any other__pycache__folders inside subdirectories). - Delete any active virtual environment folders (e.g.,
venv,.venv). - Delete any local database files if you don't want to share history (e.g.,
chat_history.json).
- Go to the root directory of the project (e.g.,
Demo Chatbot UI). - Select both
frontendandbackendfolders. - Create a ZIP archive (e.g.,
chatbot-ui-package.zip).
Ensure the following files are included in your package:
- frontend/
src/(All source code)public/(Static assets)package.jsonvite.config.jsindex.htmlpostcss.config.jstailwind.config.js(if present)
- backend/
main.pyrequirements.txt.env.example
- Documentation
DEVELOPER_GUIDE.md(See below)README.md(Optional)
Send the chatbot-ui-package.zip file to the receiver. They will use the Developer Guide to set it up.