Git Product home page Git Product logo

ssdc-website's Introduction

Getting started

1. Install and run phi3:mini with Ollama.

Download Ollama from here https://github.com/ollama/ollama?tab=readme-ov-file Then start the LLM phi3:mini in command prompt using "ollama run phi3:mini"

2. Setup virtual environment for the chatbot with the dependencies

Navigate to chatbot folder python -m venv .venv (Sets up the virtual environment folder named .venv) .venv/scripts/activate (Runs the activation script to activate the virtual environment) pip install -r requirements.txt (Installs the dependencies listed in the requirements.txt)

3. Install node module dependencies

Navigate to client folder npm i (Installs the dependencies)

4. Start the client and chatbot servers

Navigate to chatbot folder flask --app main run

Navigate to client folder npm run dev

You can now access the application at localhost:3000

Routes

  1. /admin: Dashboard for updating or deleting events
  2. /admin/event: For adding an event
  3. /admin/news: For removing an event
  4. /: Home page
  5. /news: News page
  6. /news/[id]: Page of a news article
  7. /events: Events page
  8. /event/[id]: Page of an event

Important Info

1. The AI chatbot will not work on the deployed website as the chatbot backend has not been hosted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.