简体   繁体   English

如何使 Hyperledger Blockchain 应用程序公开/在线?

[英]How to make a Hyperledger Blockchain application public/Online?

As I have seen the tutorials, I did watch the 6 videos that IBM afford and I did read all the Docs at ( https://console.bluemix.net/docs/services/blockchain/develop_starter.html#deploying-a-business-network ) Sadly, even by following everything step by step on a freshly formatted machine, I do still get errors no matter what.正如我所看到的教程,我确实观看了 IBM 提供的 6 个视频,并阅读了所有文档( https://console.bluemix.net/docs/services/blockchain/develop_starter.html#deploying-a-business -network ) 遗憾的是,即使在新格式化的机器上一步一步地执行所有操作,无论如何我仍然会遇到错误。 I would like to have some assistance in setting up this task if possible as it's the first time I work on IBM related services.如果可能的话,我想在设置此任务时获得一些帮助,因为这是我第一次处理 IBM 相关服务。

The current state is : I have a business network well developped and works perfectly fine on my local Hyperledger Composer.目前的状态是:我有一个发展良好的业务网络,并且在我本地的 Hyperledger Composer 上运行得非常好。 All the assets and everything is working fine.所有资产和一切都运行良好。

The issue is : I need help in order to make a working blockchain either with my starter plan or with only a Kubernetes Clusters where people can access the generated angular application on internet, see and make changes on that application which will controle the blockchain network which will be possibly installed on an IBM Kubernete Cluster or Cloud depends on what would work in this case.问题是:我需要帮助才能使用我的入门计划或仅使用 Kubernetes 集群来创建一个有效的区块链,人们可以在其中访问互联网上生成的 Angular 应用程序,查看该应用程序并对其进行更改,该应用程序将控制区块链网络可能会安装在 IBM Kubernete 集群或云上,具体取决于在这种情况下的工作方式。

May I have some help in making this happen and be guided through the process to make because I couldn't find the correct approach already tested and working properly to fill my needs?我是否可以在实现这一点方面得到一些帮助,并在整个过程中得到指导,因为我找不到已经测试过的正确方法并且可以正常工作来满足我的需求? As I will of course upgrade to entreprise plan and spend on the cloud (or Cluster) as much as needed once i do have a working stable concept that works.因为我当然会升级到企业计划并根据需要在云(或集群)上花费,一旦我有一个可行的稳定概念。

Thank you in advance for all the help and service预先感谢您提供的所有帮助和服务

@d0bry I found out that the version wasn't the matching one and I could follow up the whole tutorial as now my code works on IBM StarterPlan Blockchain deployed. @d0bry 我发现版本不是匹配的版本,我可以跟进整个教程,因为现在我的代码在部署的 IBM StarterPlan Blockchain 上工作。 After trying to follow this tutorial https://github.com/IBM-Blockchain/vehicle-manufacture with my own business network, when before trying to push the application using the files in your clone of this repository, I generated the app via Yeoman and it displayed for me this log when i tried to npm start:在尝试使用我自己的业务网络遵循本教程https://github.com/IBM-Blockchain/vehicle-manufacture之后,在尝试使用此存储库克隆中的文件推送应用程序之前,我通过 Yeoman 生成了应用程序当我尝试 npm start 时,它为我显示了这个日志:

0 info it worked if it ends with ok
1 verbose cli [ '/home/hiro/.nvm/versions/node/v8.11.4/bin/node',
1 verbose cli   '/home/hiro/.nvm/versions/node/v8.11.4/bin/npm',
1 verbose cli   'start' ]
2 info using npm@6.4.0
3 info using node@v8.11.4
4 verbose stack Error: missing script: start
4 verbose stack     at run (/home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/lib/run-script.js:155:19)
4 verbose stack     at /home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/lib/run-script.js:63:5
4 verbose stack     at /home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/read-package-json/read-json.js:115:5
4 verbose stack     at /home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/read-package-json/read-json.js:418:5
4 verbose stack     at checkBinReferences_ (/home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/read-package-json/read-json.js:373:45)
4 verbose stack     at final (/home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/read-package-json/read-json.js:416:3)
4 verbose stack     at then (/home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5)
4 verbose stack     at /home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/read-package-json/read-json.js:280:12
4 verbose stack     at /home/hiro/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
5 verbose cwd /home/hiro/Documents/medcretech-network
6 verbose Linux 4.15.0-33-generic
7 verbose argv "/home/hiro/.nvm/versions/node/v8.11.4/bin/node" "/home/hiro/.nvm/versions/node/v8.11.4/bin/npm" "start"
8 verbose node v8.11.4
9 verbose npm  v6.4.0
10 error missing script: start
11 verbose exit [ 1, true ]

is there a way to fix this up?有没有办法解决这个问题? or i don't have to npm start in order to make my blockchain on the IBM cloudant或者我不必 npm start 就可以在 IBM Cloudant 上创建我的区块链

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Hyperledger Angular应用程序中启用身份验证 - How to enable authentication in hyperledger Angular application 如何在Angular 5中公开一个js函数 - how to make a js function public in angular 5 SharePoint Online是否支持.webmanifest? 如何使用受支持的 webmanifest 文件创建 SharePoint 在线渐进式 Web 应用程序? - Is .webmanifest supported by SharePoint Online? How can I create SharePoint Online Progressive Web Application with supported webmanifest file? 如何在 quickblox 聊天应用程序中显示用户状态(在线/离线) - How to show user status(online/offline) in quickblox chat application 如何在Angular 4应用程序中将文件上传到SharePoint Online库? - How to upload a file to SharePoint Online library in Angular 4 application? 区块链如何隐藏其HTML源代码? - How is blockchain hiding its HTML source? Angular 4 Web应用程序:如何使用Amazon S3返回公共链接? - Web Application with Angular 4: how to return a public link with Amazon S3? 如何在任何在线服务器中部署Spring框架后端和Angular 2前端应用程序? - How to deploy Spring framework backend and Angular 2 frontend application in any online server? 当用户离线并重新回到在线状态时,如何使我的离子刷新器正常工作? - How to make my ion-refresher working properly when user goes offline and back to online? 我想通过完整的离子应用程序检查离线和在线模式,如何制作? - I want to check offline and online mode through full ionic app, how to make it?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM