This guide will lead you through the steps to set up the Dialogix environment. Please follow the steps listed below carefully.
- pyenv
- Docker Desktop
Use pyenv
to install the required Python version:
pyenv install 3.10.6
Create a virtual environment specifically for Dialogix:
pyenv virtualenv 3.10.6 dialogix
Activate the newly created virtual environment:
pyenv activate dialogix
Make sure you are in the dialogix directory and set up the local environment there:
# In the Dialogix directory
pyenv local dialogix
Install the required dependencies:
pip3 install -r requirements.txt
Pull the Elasticsearch Docker image and start a container:
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.9.2
docker run -d -p 9200:9200 -e "discovery.type=single-node" elasticsearch:7.9.2
To run, cd into streamlit and execute the following command: make run