Skip to content

StockerMC/Eloquence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to run the project

Install the required dependencies

  1. git clone https://github.com/StockerMC/Eloquence
  2. cd Eloquence
  3. cd backend
  4. (python) -m venv venv
  5. LINUX ONLY: chmod +x venv/bin/activate (if this command fails, try a different activate file) 6) venv/scripts/activate (Windows) or venv/bin/activate (Linux)
  6. (python) -m pip install -r requirements.txt - NOTE: It will take quite a while to download all the models, but this only needs to be done once.
  7. cd ../frontend
  8. npm i

Running the backend

  1. cd into the backend folder
  2. Copy env.example.py into env.py and set your OPENAI_API_KEY
  3. Run uvicorn server:app --port 3000 to start the backend server. Keep note of the ip address that is outputted.

Running the frontend

  1. cd into the frontend folder
  2. Create a file named .env
  3. Copy the contents of .env.example into .env
  4. Change the value of SECRET_BACKEND_SERVER_ADDRESS to the address of the backend
  5. Run npm run preview to run the website

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •