Skip to content

Maneshgpai/PrivateGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

PrivateGPT

Follow the below steps to setup this project

Pre-Requisites

Download & Install the below tools

3. Git

python3 -m pip install --user virtualenv

Cloning the repo

Open any terminal & run the below code in to clone the repo in your system.

git clone https://github.com/Maneshgpai/PrivateGPT.git

Running the React.js Client

This is built with Next.js framework, which is based on React.js library.

1. Navigate to client folder

cd client

2. Install the dependencies

npm install

3. Paste client .env file in client folder

4. Run the development Server

npm run dev

Running backend Flask Server

5. Navigate to server folder

Open a new terminal

cd server

6. Paste server .env file in server folder

7. Create a Python virtual Environment

Once you're in the server folder, enter the following command to create a virtual env:

python3 -m venv venv

Use Python or Python3 based on your system & installation.

Activate virtual env with following command:

source venv/bin/activate

Everytime you're working with the flask server make sure you've activated the virtual env.

8. Install the server packages

pip install -r requirements.txt

9. Run the server

python3 index.py

10. Now site can be accessed at http://localhost:3000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published