Skip to content

gaulinmp/flask_logging_server

Repository files navigation

Flask Logging Server

Flask website for uploading and displaying logging messages from any web-connected computer. Uses simple GET and a 'secret key' to upload.

Quick Start

  1. git clone https://github.com/gaulinmp/flask_logging_server.git to your server of choice (I use bluehost)
    1. Let's say you put it at $HOME/projects/flask_logging_server for now.
  2. Put your WSGI run script in a folder somewhere in the ~/public_html folder.
    1. Let's say you put it at $HOME/public_html/projects/log for now.
    2. You could copy the example_wsgi.py script: cp example_wsgi.py $HOME/public_html/projects/log
  3. That's it for the server.
  4. On any computer, send a GET request to the api_upload URI with the correct secret key
    1. http://YOURURL/projects/log/api_upload?key=LOGGING_UPLOAD_KEY&message=MY LOGGING MESSAGE

Run debug server

$ python run.py

Shell environment

$ python shell.py

Screenshot

Plain bootstrap white theme.

About

Flask server for uploading and displaying logging messages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published