This project aims to provide a Virtual Legal Assistant, consisting of a backend server and a frontend interface.
-
Clone the repository:
git clone https://github.com/4th-IR/virtual-legal-assistant-production.git
-
Install Poetry (dependency management tool):
pip install poetry
-
Change into the backend project directory:
cd virtual-legal-assistant-production/backend
-
Setup the Poetry environment and install backend dependencies:
poetry install
-
Activate the Poetry shell:
poetry shell
-
Run the backend application:
poetry run python main.py
Note: Ensure that you are in the project's root directory (
virtual-legal-assistant-production
) when running the backend application.
-
Open a new terminal or command prompt window.
-
Navigate to the project's root directory (
virtual-legal-assistant-production
). -
Change into the frontend project directory:
cd frontend
-
Install frontend dependencies using Poetry:
poetry install
-
Run the frontend application using Poetry and Streamlit:
poetry run streamlit run app.py
Once the backend and frontend applications are running:
-
The Streamlit application will launch and display a local URL.
-
Open a web browser and enter the provided local URL to access the Virtual Legal Assistant.
- Make sure you have all the necessary dependencies and libraries installed before running the project.
- Refer to the project's documentation or any specific instructions provided by the repository owner for any additional steps or configuration required.
- If you encounter any issues, check the project's issue tracker or seek support from the repository owner or community.