Tango Scraper microservice takes most files in and extracts text from documents.
- Ensure that git is installed on your machine. Download Git
- Docker is used for the backend and database setup. Download Docker
Create a .env file in the root directory of the project by copying the .env.example file and updating the values accordingly.
cp .env.example .envTo run the application, execute the following commands:
docker compose up --buildThe application will be available at http://localhost:8001 and the API documentation will be available at http://localhost:8001/docs.
To run the tests, execute the following command:
docker compose run server pytest