run npm start in one terminal and npm run hotloader in another
To run the LLM parts of the app:
- Make a virtual environment:
python3 -m venv .venv. This virtual environment should be in Python 3.10 or earlier; Python 3.11+ won't work. - Activate the virtual environment (venv):
. .venv/bin/activate - Install the dependencies from requirements.txt in the venv:
pip install -r requirements.txt - Run the local ChromaDB instance:
chroma run - Set the environment variable
ANYSCALE_API_KEY. Using a .env file is probably the simplest way to do this.
visit http://localhost:5050
the following files students do not need to edit. feel free to read them if you would like.
client/dist/index.html
client/src/index.js
client/src/utilities.js
client/src/client-socket.js
server/validator.js
server/server-socket.js
.babelrc
.npmrc
.prettierrc
package-lock.json
webpack.config.js