Giter VIP home page Giter VIP logo

lobbypy-heroku's Introduction

lobbypy-heroku

A game lobby system to run on Heroku

lobbypy-heroku is a web based TF2 lobby system built on Flask and Heroku.

Requirements

Developing

Setup

  • Clone the repository

      git clone [email protected]:TronPaul/lobbypy-heroku.git
      cd lobbpy-heroku
    
  • Create the virtualenv

      virtualenv venv
    
  • Activate the virtualenv

      source venv/bin/activate
    
  • Install the required Python packages

      pip install -r requirements.txt
    
  • Add the needed environment variables to .env

    • SESSION_KEY - session key for Flask's cookie
    • DEV_DATABASE_URI - SQLAlchemy URI for the development database
    • STEAM_API_KEY - Steam API key

The file should look something like env.sample

Usage

Use foreman from the Heroku Toolbelt to run commands and start the server with the heroku environment. See the man page for documentation.

Testing

Run the command

foreman run nosetests

To run the lobbypy-heroku test suite. To get the coverage of the test suite use

foreman run nosetests --with-coverage --cover-package=lobbypy

lobbypy-heroku's People

Contributors

bcahue 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.