• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

geolffreym/watchit-gateway: IPFS gateway for watchit

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

geolffreym/watchit-gateway

开源软件地址:

https://github.com/geolffreym/watchit-gateway

开源编程语言:

Python 49.1%

开源软件介绍:

Gitter

watchit-gateway

Gateway Watchit Seeder

How

Start docker containers

  1. docker-compose up

Migrate movies to mongodb (Please wait until movies get ready migrated)

  1. docker-compose exec watchit_migrator bash -c "export PYTHONPATH=$PYTHONPATH:/data/watchit && python resource/py/migrate.py"

Initialize IPFS

  1. ipfs init

In a new console please get ID and copy it

  1. ipfs id # Copy ipfs ID (ex: QmNWCiQTM1drWrdAM5jgRjdGiDoy7sYjznpip1BZU1Jz5m)

Now lets get init and set bootstrap ipfs node

  1. bash ./resource/bash/init_ipfs.sh {YOUR_IPFS_ID_HERE}

Run ipfs daemon as background

  1. ipfs daemon --enable-pubsub-experiment &

And expose our node tu ipfs network over orbitdb migration

  1. bash ./resource/bash/restart_ipfs.sh

watchit-app

After run migration (Step 2) and expose our node in gateway (Step 7)

  1. Two file are generated hash and clients. Please copy first entry hash in hash (Private Key) file and any of the list in clients (Public Key) file. This keys will be requested on app login.

To configure your app please

  1. In this file set your ENV variables with: BOOTSTRAP_IP = {GATEWAY_IP} BOOTSTRAP_HASH = {COPIED_ID}



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap