Skip to content

mbittmann/crewpool

Repository files navigation

crewpool

This repository contains a set of analytics for crewpool.

This repo contains code used for personal and non-commercial use by a group of NFL fans and tech hobbyists.

Setup

pip install -r requirements.txt

Running in dev

FLASK_DEBUG=1 python server.py

Running the Data Server Application

The Data Server is a simple python/Flask RESTful web server.

The Data Server uses a virtuel environment on the server to manage all python dependencies. To activate the virtual environment, navigate to APP_HOME/crewpool/ and run

source env/bin/activate

In production, the server runs under gunicorn in daemon mode. To start the server, run:

source env/bin/activate
gunicorn --worker-class gevent --workers 1 --timeout 300 --log-file logs/gunicorn.log --bind 127.0.0.1:8008 server:app --daemon

Logs can be found in APP_HOME/logs/

About

crewpool analytics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published