Getting Started
Prerequisites
- Python 3.9+
- Docker (optional)
Installation
Local Setup
Clone the repository:
bashgit clone https://github.com/fabriziosalmi/aidlp.git cd aidlpCreate a virtual environment:
bashpython3 -m venv venv source venv/bin/activateInstall dependencies:
bashpip install poetry poetry install poetry run python -m spacy download en_core_web_lgStart the proxy:
bashpoetry run python src/cli.py startThe proxy will start on port
8080(traffic) and9090(metrics).
Docker Setup
Build and Run:
bashdocker-compose up --build -dVerify:
bashcurl -x http://localhost:8080 http://httpbin.org/ip