Santa-Clara-Imaginarium-Lab / human-ai

0 stars 0 forks source link

Human-AI Interaction

Overview

Official Human-AI Interaction repository. This contains all code for the game portion of the Human AI study (interacting with chatbots and playing the Prisoner's Dilemma game with them).

Contributing to this Repository

Dedicated team members have tasks that are delegated during meetings. See all the current tasks on our Github Project task board.

For each task, create a branch for it. When you are done, make a pull request to main.

Folder Structure

Prerequisites

Installation

To set up the project, follow these steps:

Step 1: Install Dependencies

Navigate to the root directory "human-ai" (or whatever your local repository name is) and run the following command to install all dependencies:

npm run install-all

Step 2: Add Environment Variables

Add .env files and required environment variables in backend/ and client/ folder. Create a new .env file in each subdirectory, refer to .env-example files for the format and structure.

(Do not delete .env-example for Git purposes)

Step 3: Run Project

Run the following command in the root directory:

npm run start-all

Note: it is best to run the servers in a dedicated terminal, NOT in the VSCode terminal.