A game lobby system to run on Heroku
lobbypy-heroku is a web based TF2 lobby system built on Flask and Heroku.
-
Clone the repository
git clone git@github.com: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 cookieDEV_DATABASE_URI
- SQLAlchemy URI for the development databaseSTEAM_API_KEY
- Steam API key
The file should look something like env.sample
Use foreman
from the Heroku Toolbelt to run commands and start the
server with the heroku environment. See the
man page for documentation.
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