Docker and more calendar work

This commit is contained in:
Cody Cook 2025-06-17 16:00:46 -07:00
commit f7a919ebf2
22 changed files with 2036 additions and 79 deletions

17
docker-entrypoint.sh Normal file
View file

@ -0,0 +1,17 @@
#!/bin/bash
set -e
# Create necessary directories
mkdir -p instance downloads
# Check if the database needs to be initialized
if [ ! -f instance/podcastrr.db ]; then
echo "Initializing database..."
python init_db.py
else
echo "Database already exists, checking for migrations..."
python run_migrations.py
fi
# Start the application
exec python main.py