Socket Game Scheduler
Scheduler for the socket game repository https://github.com/JasonHinds13/socket-game. It takes care of administrative tasks.
Config
This application uses environment variables for configuration. A list of config variables are listed below:
DEFAULT_FORMAT
: Format of system logsROOT_LOG_LEVEL
: Root logging levelDATABASE_URL
: Database url in the format forDB_DRIVER://USERNAME:PASSWORD@DB_HOST/DATABASE
ROOM_BACK_OFF
: Back-off period in minute for checking if a room is active.PLAYER_INACTIVITY
: Number of minutes all users in a room should be inactive for before deactivating the roomSCHEDULER_ROOM_DEACTIVATION
: Interval in minutes between room inactivity check firingLOGGING_FILE_PATH
: Log file path
Startup Commands
virtualenv venv
(Optional)source venv/bin/activate
(linux or mac) /venv\Scripts\activate
(Optional)pip install -r requirements.txt
python run.py