GithubHelp home page GithubHelp logo

e54385991 / steamstatus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akelsch/steamstatus

0.0 1.0 0.0 2.43 MB

A Steam monitoring service built with Flask

License: MIT License

JavaScript 18.79% Python 52.15% PowerShell 0.43% CSS 3.71% Dockerfile 2.99% Jinja 21.93%

steamstatus's Introduction

steamstatus

A Steam monitoring service built with Flask

Requirements

Getting Started

  1. Install

    git clone https://github.com/akelsch/steamstatus.git && cd steamstatus
    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt

    See requirements.txt for a complete list of required Python packages.

  2. Configure

    export FLASK_APP=steamstatus
    export FLASK_ENV=development
    export API_KEY=xxx # insert your key here, e.g. 204BE844F017F63E40E2F3D820EB8E9E

    You can get your own Steam Web API Key here.

  3. Run

    flask init-db
    flask run

    Note that initializing the database is required once only.

Using Windows

Activating Python virtual environments in PowerShell requires changing your execution policy first:

Set-ExecutionPolicy Unrestricted
.\venv\Scripts\Activate.ps1

Feel free to use env.ps1 to set Flask environment variables. You still will have to provide API_KEY though.

Using Docker

Similar to running the application natively, you will have to provide API_KEY by passing it to Docker:

docker build . -t steamstatus
docker run -p 5000:5000 -e API_KEY=xxx steamstatus

Alternatively you can modify Dockerfile to hardcode your key.

Acknowledgments

Flag icons by Mark James

steamstatus's People

Contributors

akelsch avatar

Watchers

James Cloos 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.