Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 845 Bytes

LOCAL_DEPLOY.md

File metadata and controls

40 lines (27 loc) · 845 Bytes

Deploying locally

Running locally using python environment

To run the application on your local machine, follow these steps:

  1. Navigate to the project directory:

    git clone https://github.com/annumberhocker/logging_utility.git
    cd logging_utility
  2. Create a Python Enviroment, Activate it, and Install Requirements:

    python -m venv assetEnv
    source assetEnv/bin/activate
    python -m pip install -r requirements.txt
  3. Start the project:

    python app.py
  4. URL access:

    The url, for purposes of using cURL is http://0.0.0.0:8000.

    To access Swagger go to http://0.0.0.0:8000/docs

Running locally from a container

To deploy in a container using podman:

podman build -t logging-utility .
podman run --rm -p 8000:8000 logging-utility