Public | Automated Build

Last pushed: 5 months ago
Short Description
API to get Radio-Canada news from different themes, with read time information.
Full Description

tempo-apio

setup

python3 -m venv .env && source .env/bin/activate
pip install -r requirements.txt

development

FLASK_APP=tempo_apio.py FLASK_DEBUG=1 flask run

docker

# building
docker build -t tempo-apio .

# start mongo
docker run --name tempo-mongo -d mongo

# run api
docker run -d \
    -p 5001:5001 \
    --name tempo-apio \
    --link tempo-mongo:mongo \
    -e 'MONGODB_HOST=mongo' \
    tempo-apio
Docker Pull Command
Owner
samueldg
Source Repository

Comments (0)