OpenPecha / monlam-chatbot

0 stars 0 forks source link

host Monlamchat #1

Open tenkus47 opened 5 days ago

tenkus47 commented 5 days ago

Description

I got the app in simple js html and css, i need to make it a react app and deploy the app in the render as a static app we need to host monlam chat bot on the render.

Completion Criteria

the hosted app should be at chat.monlam.ai

Implementation Plan

Step 1: Set Up React Project Initialize a new React project using Create React App. Structure the project folders (components, assets, etc.). Integrate existing HTML, JS, and CSS into React components. Step 2: Convert Existing Code to React Break down the HTML into reusable React components. Migrate JavaScript functionality to React's state and lifecycle methods. Ensure CSS is properly imported and scoped to components where necessary. Step 3: Implement PWA Features Configure the service worker provided by Create React App to enable PWA features. Test PWA functionality: offline capabilities, caching strategies, and manifest file. Step 4: Test the React App Locally Run the React app locally to ensure all features work as expected. Check responsiveness and UI consistency. Step 5: Deploy to Render Build the React app for production. Set up a new static site on Render. Connect the GitHub repository to Render for continuous deployment. Configure the custom domain chat.monlam.ai. Step 6: Verify Deployment Ensure the app is accessible at chat.monlam.ai. Test all features, including PWA capabilities, on the deployed app.

SubTasks

ta4tsering commented 5 days ago

new card, its a request from Geshe Monlam. Kindly update the card to include the workflow diagram as well

ta4tsering commented 4 days ago

Waiting for the Geshe la to make some changes, so subtask 3 is on hold.