Skip to content

v0.5.0-rc.2

Compare
Choose a tag to compare
@alimy alimy released this 02 Oct 23:13
· 182 commits to r/paopao-ce since this release
0d3fda7

v0.5.0(rc)

Added

  • add custom web frontend features base by a profile that fetch from backend support.
    you can add custom configure to conf.yaml file to custom web frontend features:
    ...
    WebProfile:
      UseFriendship: true              # 前端是否使用好友体系
      EnableTrendsBar: true            # 广场页面是否开启动态条栏功能
      EnableWallet: false              # 是否开启钱包功能
      AllowTweetAttachment: true       # 是否允许推文附件
      AllowTweetAttachmentPrice: true  # 是否允许推文付费附件
      AllowTweetVideo: true            # 是否允许视频推文
      AllowUserRegister: true          # 是否允许用户注册
      AllowPhoneBind: true             # 是否允许手机绑定
      DefaultTweetVisibility: friend   # 推文可见性,默认好友可见 值: public/following/friend/private
      DefaultMsgLoopInterval: 5000     # 拉取未读消息的间隔,单位:毫秒, 默认5000ms 
      CopyrightTop: "2023 paopao.info"
      CopyrightLeft: "Roc's Me"
      CopyrightLeftLink: ""
      CopyrightRight: "泡泡(PaoPao)开源社区"
      CopyrightRightLink: "https://www.paopao.info"
    ...

备注:发布版本中,使用如下命令构建paopao-ce: (go version go1.21.1 darwin/amd64)

./build-release.sh && ./build-image.sh

发布的二进制文件中只测试了paopao-ce-darwin_amd64,其余平台的未亲测,如有问题,请使用源码在自己平台下自行构建。

您可以使用如下命令启动一个测试实例尝鲜:

docker compose up -d
# visit http://localhost:8008  👀 paopao-ce
# visit http://localhost:8001  👀 RedisInsight
# visit http://localhost:7700  👀 Meilisearch