Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 2.04 KB

README.md

File metadata and controls

58 lines (42 loc) · 2.04 KB

Techlahoma Twitch Video Manager

built-with-Flask Python-Version Testing

This app is currently designed to identify which Techlahoma broadcasts are still in need of highlights (the broadcasts expire after 60 days if they have not been highlighted). The future vision for the app includes automating most steps of the broadcasting, highlighting, and exporting process.

*Eventually, we would like to connect this with a database where all of this data can be managed (IDs to relate results from multiple APIs, user login system, etc)


Instructions

First clone the repo and initialize a virtualenv:

$ git clone https://github.com/BrickBeard/twitch_video_manager.git
$ cd twitch_video_manager
$ virtualenv env
$ source env/bin/activate
(env)$ pip install -r requirements.txt

Next, create a .env file and add in the following information:

FLASK_ENV=development
CLIENT_ID='your_twitch_client_id_here'

To get a Twitch Client ID you need to:

  • Create a developer account with Twitch Here
  • Register your application Here (or simply navigate to Dashboard > Applications > Register):
  • Copy your Client ID and add it to the .env file

Run App!

flask run

Testing The App:

Create a test.cfg file in the instance folder and add:

SERVER_NAME = 'localhost.localdomain'

Then run your test!

$ pytest

Questions or Comments

Please leave feedback on here or reach out to me on the Techlahoma Slack @brickbeard