File size: 1,415 Bytes
6ce0e7d
7781557
 
6ce0e7d
7781557
 
 
3bb94b1
7781557
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6ce0e7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# SalesIQ, formerly SalesBuddy

## Description
SalesIQ, formerly SalesBuddy

## Prerequisites
- Python 3.11
- node 20.11.0
- 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:
```bash
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:
```bash
python3.11 -m venv venv
source venv/bin/activate # For Linux
venv\Scripts\activate # For Windows 
```

### 3. Install Required Libraries
```bash
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:

```bash
cd frontend
pnpm install
```

You must build the frontend before running the application:
```bash
cd frontend
pnpm run build
```

To run the application locally, at the main folder, run the following command in the terminal:
```bash
./run.sh
```

The application will be available at http://localhost:8000