Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.05 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.05 KB

FASTAPI

This project requires the following scripts to run locally:

Docker Scripts

  • docker-compose build to build the Docker images (only needed if there are changes to Dockerfile or dependencies)
  • docker-compose up to start the application
  • docker-compose down to stop running containers (Run this first when developing)
  • docker logs fastapi-otel-collector-1 will show the traces logged from the collector

Virtual Environment Scripts

  • python -m venv venv to create a venv
  • .\venv\Scripts\Activate to activate venv
  • pip install -r requirements.txt to install dependencies
  • pip freeze > requirements.txt to capture current dependencies

Local Development Scripts

  • uvicorn app:app --reload to start the development server without Jaeger or OpenTelemetry

These are the tools