#播客 #开源
一个开源播客平台,支持Docker环境安装安装

#播客 #开源 一个开源播客平台,支持Docker环境安装安装

Property
Oct 6, 2022 06:32 AM
Status
Date
URL
https://github.com/opensource-f2f/open-podcasts
notion image

本项目,计划采用云原生的方式来开发后端程序,利用 Kubebuilder 作为 脚手架。

Features

  • 添加 RSS 播客源
  • 添加待收听列表
  • 发送播客更新通知到:Slack、飞书

Screenshot

notion image

Get started

  • 安装 Docker 环境
  • 安装 k3d,你可以通过官方给出的教程或者下面的命令 hd 来安装
    • hd install k3d
  • 安装 k3s(简化版的 Kubernetes)
    • k3d cluster create -p 30000:30000 -p 30001:30001 -p 30002:30002 -p 30003:30003
  • 安装本项目
    • make deploy
  • 安装其他可选工具:kubectlk9s
    • hd install kubectl
    • hd install k9s

Development

Start the APIServer:
cd apiserver && go run cmd/main.go
Start the front-end:
cd ui && npm i && npm run start

Create new API

kubebuilder create api --group osf2f --version v1alpha1 --kind Profile

WSL

我们可以在 WSL 中把 podman 当做容器环境,安装 k3d 来开发调试:
执行下面的命令,启动 podman 服务,然后创建 docker.sock 文件:sudo ln -s /home/$USER/podman.sock /var/run/docker.sock
podman system service --time=0 unix:///home/$USER/podman.sock