A successor to my favorite graphTV website, (hopefully) without stepping on IMDb's toes.
Go get an OMDb API key.
Set the environment variable OMDB_API_KEY
to this key.
Clone this repository and cd
to it.
Run pip install -r requirements.txt
Tests use pytest. To run tests,
pip install pytest
, then run pytest
.
The Flask application looks at three environment variables:
OMDB_API_KEY
- Your OMDb API key.ALT_SEARCH
- Whether to include the option of an alternate search. When not set totrue
, only the OMDb search will be available.ALT_SOURCE
- The URL of the alternate movie database you would like to use.
To run directly, run python webapp.py
, or run using whatever Flask options you
prefer.
This project has a Docker image. A sample Docker Compose configuration is given below.
docker-compose.yml
------------------
version: '3'
services:
legacy:
image: ahoetker/legacy
container_name: legacy
restart: always
ports:
- 5000:5000
environment:
- OMDB_API_KEY=XXXXXXXX
- ALT_SEARCH=true
- ALT_SOURCE=https://XXXXXX.com
Development is so early it doesn't make sense to use SVN yet. Fight me. Eventually, I
will decide a build is worthy of being 0.1.1
.
Author | Contact | Github |
---|---|---|
Andrew Hoetker | [email protected] | ahoetker |
None yet, no stealing please!