Skip to content

ETH-PEACH-Lab/explain-vis

Repository files navigation

README

dowload the data source

Please visit the link to download the data source files and extract the files to the ./backend/utils/data directory.

Run Docker Locally

  1. Create ./.env for the OPENAI API
# .env
OPENAI_API_KEY=YOUR_API_KEY
PORT=8000
  1. Create ./frontend/.env for the backend API
# .env
OPENAI_API_KEY=YOUR_API_KEY
  1. Build docker
docker-compose -f docker-compose_local.yml build
  1. Run docker
docker-compose -f docker-compose.yml build

Run Server and Frontend Locally

  1. Create ./backend/.env for the OPENAI API
touch ./backend/.env
export OPENAI_API_KEY=DONTSHAREWITHOTHERS
export PORT=8000
  1. Run frontend at port 3000:
cd frontend
npm install
npm run start
  1. Run server at port 8000:
cd backend
npm install
node index.js

Releases

No releases published

Packages

No packages published

Languages