ObligationFlow is a Django-based web application designed to manage and analyze documents, extract obligations, and track risk. It utilizes Celery for background task processing for extracting term clause and obligations and Redis as the message broker.
- Python 3.11.4
- Django 5.1.2
- Redis
- LibreOffice (for document conversion on non-Windows platforms)
-
Clone the repository:
git clone <repository-url> cd ObligationFlowDjango-main
-
Create a virtual environment:
python3 -m venv .venv source .venv/bin/activate -
Install the dependencies:
pip install -r requirements.txt
-
Configure the environment:
- Ensure that Redis server is running on the port 6380.
- Update any necessary settings in
ObligationFlowProject/settings.py.
-
Apply migrations:
python manage.py migrate
-
Run Celery worker:
celery -A ObligationFlowProject worker --loglevel=info
-
Start the development server:
python manage.py runserver
-
Access the application:
- Open your browser and navigate to
http://127.0.0.1:8000/to start using the application.
- Open your browser and navigate to
- Document management with uploading and version control.
- Automated extraction of obligations and risk assessment.
- Scheduled background tasks using Celery.
- Compatibility across different platforms for document conversion.
- Update the
celery.pyconfiguration as needed for different environments. - The application assumes default configurations for simplicity; modify
settings.pyfor production deployments.