Skip to content

timmyb824/python-URLPinger

Repository files navigation

Summary

URL Pinger is a simple python application that "pings" a list of endpoints and checks the response time and status code. Refer to our docs folder for more inforamtion.

Development

URL Pinger is deployed using dex. To get started with development, follow the steps below:

  1. Clone the repository

  2. Install the required dependencies for local development

    # if you have poetry installed
    poetry install
    
    # if you don't have poetry installed
    pip install -r requirements.txt
  3. Run the application

    # if you have poetry installed
    poetry run python urlpinger/main.py
    
    # if you don't have poetry installed
    python urlpinger/main.py

Of course if you have dex installed (which you should), you can also run the application using it:

# locally with docker
dx run

# in kubernetes
dx run -k
dx destroy --force # when you're done

# run tests (needs more tests)
dx test unit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published