Skip to content

Commit

Permalink
Adding Docs + Update Deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirio committed Oct 9, 2023
1 parent aaa4806 commit b0e79f7
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 6 deletions.
39 changes: 38 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,42 @@ It uses [_Django_](https://www.djangoproject.com/) in order to create a new inte

[Installation](docs/install.md)[Configuration](docs/config.md)


</div>

## Quick Demo
Below all the information to start a quick demo locally using Docker, for more stable solution please follow the [Installation](docs/install.md) guide.

1. Install `docker` and `docker-compose` ([More Info](https://docs.docker.com/engine/install/))
2. Run the command below to start the containers
```
docker compose up -d
```
3. Wait until the container is ready
```
docker logs -f verbacap-web
```
Wait until you can see `Listening at: http://0.0.0.0:8000`

4. Create a superadmin user using:
```
docker exec -it verbacap-web /entrypoint.bash createadminuser
```
Insert the user and password of the superadmin

5. Open your browser to [http://127.0.0.1:8080/](http://127.0.0.1:8080/)

6. Login with the superadmin credential

7. Go to Episode -> Add Datasource -> Add Youtube Channel and insert

**Channel Name**: Youtube Official

**Channel URL**: https://www.youtube.com/@youtube

-> Submit

8. Wait a few minute to scrape the page based by your internet connection

9. Go to "Episode" Page -> Click on "Add to Playlist"

10. Go to Player and listen it
6 changes: 2 additions & 4 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ services:
- ./example/psql:/var/lib/postgresql/data

web:
#build: .
image: ghcr.io/mirio/verbacap:develop
image: ghcr.io/mirio/verbacap:v1.0.0
restart: always
container_name: verbacap-web
command: "run"
Expand All @@ -36,8 +35,7 @@ services:
- ./example/web:/persist

celery:
image: ghcr.io/mirio/verbacap:develop
#build: .
image: ghcr.io/mirio/verbacap:v1.0.0
restart: always
container_name: verbacap-celery
command: "celery"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ pytest-django==4.5.2 # https://github.com/pytest-dev/pytest-django
# ------------------------------------------------------------------------------
feedparser==6.0.10 # https://github.com/kurtmckee/feedparser
beautifulsoup4==4.12.2
yt-dlp==2023.9.24 # https://github.com/yt-dlp/yt-dlp
yt-dlp==2023.10.7 # https://github.com/yt-dlp/yt-dlp
django-filter==23.3 # https://github.com/carltongibson/django-filter

0 comments on commit b0e79f7

Please sign in to comment.