Skip to content

Latest commit

 

History

History
69 lines (53 loc) · 1.6 KB

testing_operation.md

File metadata and controls

69 lines (53 loc) · 1.6 KB

Temperature Procedure Controller

System Architecture

The application consists of two main components:

  • Backend: Python FastAPI service
  • Frontend: React/TypeScript web interface

Prerequisites

Before starting, ensure you have installed:

  • nvm (Node Version Manager) added to PATH
  • Latest version of yarn package manager
  • Python runtime added to PATH
  • Git Bash terminal application

Starting the Application

Backend Service

  1. Open a new Git Bash terminal
  2. Navigate to the project directory:
    cd temperature-procedure-controller
    cd backend
  3. Activate the Python virtual environment:
    . venv/Scripts/activate
  4. Start the backend server:
    uvicorn main:app --reload --host 0.0.0.0 --port 8000
  5. Keep this terminal running

Frontend Application

  1. Open another Git Bash terminal
  2. Navigate to the project directory:
    cd temperature-procedure-controller
    cd frontend
  3. Start the frontend development server:
    yarn start
  4. Keep this terminal running

Using the Application

!!! IMPORTANT: Ensure only one browser window with a single tab is running the application!

Access the application in your browser at:

http://localhost:3000/

Accessing Recorded Data

Temperature logs are stored at:

~/temperature-procedure-controller/backend/data/temperature_logs

Shutting Down

To stop both services, press Ctrl + C in each of the Git Bash terminals.