Add a test and make changez?
Some checks failed
Build and Publish / test (push) Successful in 20s
Build and Publish / build (push) Failing after 5m33s
Build and Publish / notify (push) Successful in 1s

This commit is contained in:
Cody Cook 2025-06-17 20:36:20 -07:00
commit 9e19ae6cf6
5 changed files with 133 additions and 11 deletions

View file

@ -66,6 +66,8 @@ A podcast management application similar to Sonarr but for podcasts, built with
## Usage
### Local Development
Run the application:
```
python main.py
@ -73,6 +75,41 @@ python main.py
Then open your browser and navigate to `http://localhost:5000`.
### Docker Deployment
The application can be deployed using Docker in two ways:
#### Option 1: Using the published Docker image from Forgejo registry (recommended for production)
1. Create a `.env` file with the following variables:
```
FORGEJO_REGISTRY=your-forgejo-registry-url
FORGEJO_USERNAME=your-username
PORT=5000
FLASK_ENV=production
SECRET_KEY=your_secret_key
DATABASE_URI=sqlite:///instance/podcastrr.db
DOWNLOAD_PATH=/app/downloads
```
2. Run the application using docker-compose:
```
docker-compose up -d
```
#### Option 2: Building from local Dockerfile (for development)
1. Modify the `docker-compose.yml` file to use the local build instead of the published image:
- Comment out the `image:` line
- Uncomment the `build:` section
2. Run the application using docker-compose:
```
docker-compose up -d
```
The application will be available at `http://localhost:5000` (or the port you specified in the `.env` file).
## Development
1. Install development dependencies: