Giter Site home page Giter Site logo

dithn / servermonitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from christianlutzcl/servermonitor

0.0 1.0 0.0 16.43 MB

ServerMonitor is a web application for monitoring websites.

Home Page: https://monitor.inspiredprogrammer.com

License: GNU General Public License v3.0

Python 2.91% CSS 91.77% HTML 4.92% JavaScript 0.41%

servermonitor's Introduction

ServerMonitor Build Status

ServerMonitor is a web application for monitoring the status of web pages based on their response. It also gives you additional information about the website like IP adress, ping and the location of the web server.

ServerMonitor

What's the intention of this repository?

Mostly, the goal is to learn (more or less) everything about web development. Starting from getting an idea what to build, over planning what to do next up to coding the actual application. Also getting into working with others on such a project is something, I want to accomplish with this project.

Can I already contribute?

Simple answer - Yes! Unfortunately, there are currently no contribution guidelines for this project and therefore there is no "correct way" to contribute. If you have an suggestion for something that could be improved, simply do a PR (Pull Request).

I'm happy about anyone who wants to help. ๐Ÿ’ช

How to setup?

Step 1: Clone the repository

git clone https://github.com/ChristianLutzCL/ServerMonitor.git
cd ServerMonitor

Step 2: Create a VirtualEnvironment with the name 'venv'

Note: Naming your VirtualEnvironment this way helps, if you use VSCode.

python -m venv venv

Step 3: Activate your VirtualEnvironment

-> Windows Powershell

venv/Scripts/activate

Step 4: Install the requirements

(venv) pip install -r requirements.txt

Step 5: Generate new database

(venv) python create_database.py

Step 6: Run the application

(venv) python run.py

*(venv) -> VirtualEnvironment is activated

- Note:

To get the app running, open config.py and create a EnvironmentVariable for Flask and the IPSTACK-API on your local machine. ServerMonitor uses the IPSTACK-API for certain operations. Please visit https://ipstack.com and create your own API-Key.

Using VSCode

If you're using VSCode for development, it helps if you name your VirtualEnvironment 'venv'. The reason is, this repository contains a .vscode folder in it with a predefined launch.json file.

To run ServerMonitor via VSCode, simply start the debugger and choose "Flask [DEVELOPMENT]" as launch configuration.

        {
            "name": "Flask [DEVELOPMENT]",
            "type": "python",
            "request": "launch",
            "stopOnEntry": false,
            "module": "flask",
            "cwd": "${workspaceRoot}",
            "env": {
                "FLASK_APP": "run.py",
                "FLASK_ENV": "development",
                "APP_SETTINGS": "config.cfg",
                "FLASK_DEBUG": 1
            },
            "args": [
                "run",
                "-p",
                "8080"
            ],
            "envFile": "${workspaceRoot}/venv",
            "debugOptions": [
                "WaitOnAbnormalExit",
                "WaitOnNormalExit",
                "RedirectOutput"
            ]
        },

License

GNU General Public License (GPL v3.0) - Christian Lutz. Please have a look at the LICENSE for more details.

servermonitor's People

Contributors

christianlutzcl avatar dependabot[bot] avatar kittenparry avatar kpstsp avatar r0gger avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.