https://github.com/z0rr0/daf
Django Audio Feed
https://github.com/z0rr0/daf
django podcast python rss rss-generator
Last synced: 5 months ago
JSON representation
Django Audio Feed
- Host: GitHub
- URL: https://github.com/z0rr0/daf
- Owner: z0rr0
- License: mit
- Created: 2022-07-02T07:40:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-12T18:27:19.000Z (6 months ago)
- Last Synced: 2026-01-12T23:58:56.569Z (6 months ago)
- Topics: django, podcast, python, rss, rss-generator
- Language: Python
- Homepage: https://feed.fwtf.xyz
- Size: 232 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DAF



**Django Audio Feed** is a simple web application that allows to create custom RSS podcast feeds.
## Deploy
1. Prepare SQLite database
```sh
cd daf
cp db.sqlite3 db.sqlite3.bak
python manage.py flush --no-input
python manage.py createsuperuser
```
2. Build docker container
```sh
make docker
```
3. Go to deploy host and prepare required files. Example of [uwsgi.ini](./uwsgi.ini). For `local_settings` required variables: `DATABASES`, `SECRET_KEY`, `DEBUG`, `ALLOWED_HOSTS`.
```sh
conf/local_settings.py
conf/uwsgi.ini
conf/db.sqlite3
```
4. Run docker container
```sh
docker run -d --name daf -p 8084:8084 \
--volume $PWD/data/conf:/data/conf \
--volume $PWD/data/media:/var/daf/media \
--volume $PWD/data/static:/var/daf/static \
--restart always z0rr0/daf
```
5. Collect static files
```sh
docker exec -it daf /bin/sh -c "cd /var/daf && python manage.py collectstatic --no-input"
```
6. Check HTTP response:
```sh
curl -X GET http://localhost:8084
```
7. If nginx is used as a web-frontend,
read [documentation](https://uwsgi.readthedocs.io/en/latest/tutorials/Django_and_nginx.html)
## License
This source code is governed by a MIT license that can be found
in the [LICENSE](https://github.com/z0rr0/daf/blob/main/LICENSE) file.