GitHunt
TH

thomasthaddeus/codespaces-test

CS628-HOS01

Run Ollama Server

  1. Open New Terminal
  2. curl -fsSL https://ollama.com/install.sh | sh
  3. ollama serve

Pull and Chat with a Large Language Model (LLM) Conversational AI

  1. Open New Terminal
  2. ollama pull gemma2:2b

Run ExpressJS Backend Server

  1. Open New Terminal
  2. cd backend
  3. npm install
  4. node index.js
  5. Make the Port Visibility Public
  6. Copy the forwarded address ExpressJS

Run React.js Frontend Server

  1. Copy your ExpressJS Forwarded Address
  2. Create .env file and paste it after REACT_APP_API_URL= following: (use example.env as reference)
  3. Open New Terminal
  4. cd frontend
  5. npm install
  6. npm start