salesiq / README.md
richlai's picture
add files
7781557
|
raw
history blame
1.69 kB
metadata
title: SalesBuddy for BetterTech
emoji: πŸ‘
colorFrom: pink
colorTo: blue
sdk: docker
pinned: false
license: mit
short_description: AIE4 Project - SalesBuddy for BetterTech

SalesBuddy for BetterTech

Description

SalesBuddy for BetterTech

Prerequisites

  • Python 3.11
  • pip

Steps to Setup and Run the Project Locally

1. Clone the Remote Repository Locally

Assuming that you are in the directory where you want to clone the repository (project-directory), run the following command to clone the repository locally:

git clone git@github.com:aithon-ai/SalesBuddy.git .
cd <project-directory>

2. Create a Virtual Environment

Create a virtual environment with python 3.11 for compatibility.

If not familiar with creating virtual environments, follow the steps below:

python3.11 -m venv venv
source venv/bin/activate # For Linux
venv\Scripts\activate # For Windows 

3. Install Required Libraries

pip install -r requirements.txt

4. Add your API Keys to the .env file

Copy the .env.sample file to .env and add your API keys to the file.

Local Development

We recommend using node version 20.11.0 and pnpm version 9.1.0.

Go to the frontend directory and install the dependencies:

cd frontend
pnpm install

You must build the frontend before running the application:

cd frontend
pnpm run build

To run the application locally, at the main folder, run the following command in the terminal:

./run.sh

The application will be available at http://localhost:8080 and http://localhost:8080/chainlit. The latter uses the Chainlit UI. The former is the React.js version in progress