Skip to content

asish012/last_week_in_podcast

Repository files navigation

Environment variables

Create a .env file similar to the .env.sample file and put secret keys there.

NEVER COMMIT THE ENV FILE

Run YouTubeSummarizer as a docker container

docker-compose up --build -d

Cleanup docker environment

docker stop ytsummarizer
docker rm ytsummarizer
docker image rm youtubesummarizer

Build local development environment

conda env create -f environment.yml
conda activate 3hustlers
mkdir src/logs

Running Flask app

flask run

Flask create database (if needed)

export FLASK_APP=~/Documents/workspace/3hustlers/youtubesummarizer/src/db
flask shell
from src.database import db
db.create_all()
db.drop_all()

Deploy on Heroku

  • Create a Procfile
  • Create a runner.py
pip install gunicorn
gunicorn src.runner:application

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published