如何将在Hyperledger Composer上开发的应用程序投入生产? [英] How to bring an app developed on Hyperledger Composer to production?

查看:30
本文介绍了如何将在Hyperledger Composer上开发的应用程序投入生产?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正处于我所从事的项目的阶段

I'm at the stage of my project where I've

  • 开发了链码(模型,脚本,ACL,查询)
  • 部署在IBM Cloud上
  • 开发了与基于云的REST Server通信的前端应用程序
  • 通过Playground和单用户REST服务器测试了代码和业务逻辑

现在,我必须添加身份,连接配置文件和&混合使用商业网卡,以制作可用于生产测试的原型,并在多用户模式下运行REST Server.但是我在说这些事情时遇到了麻烦,因为我不知道在哪里以及如何实现它们.我遍历了文档,我知道一张名片包含身份,连接配置文件和一些元数据,但是整个工作到底如何工作仍然使我感到困惑.

Now I have to add identities, connection-profiles, & business network cards to the mix to make a production-testing ready prototype and to run REST Server on Multi-User Mode. But I'm having trouble with the said things as I can't figure out where and how to implement them. I have gone through the docs and I know that a business network card contains identity, connection-profile, and some metadata, but how exactly does the whole thing work is still confusing me.

除此之外,还需要解决或添加其他解决方案以使其能够进行生产测试吗?

In addition to this, is there anything else that needs to be taken care of or added to the solution to make it production-testing ready?

推荐答案

建议首先阅读此处提供的资源(URL)以获得一些见解->

suggest to read the resources (URLs) provided here firstly to get some insights -> https://github.com/hyperledger/composer-knowledge-wiki/blob/latest/knowledge.md#information_source--node-js-application-development-questions-eg-build-real-time-apps-login-etc

第二,您可以查看一些Composer示例应用程序,以了解您所询问的一些问题(显然-可以尝试一下!)->

secondly, there are some Composer sample applications you can take a look at to understand some of the issues you're asking about (and obviously - try them out!) -> https://github.com/hyperledger/composer-sample-applications/tree/master/packages eg Letter of Credit.

最后,您可以在此处查看此示例用例(会员计划等忠诚度计划,例如用户注册等)的另一个示例->

Finally, another example you can check out this example use case (Loyalty program, including member registration etc (eg user registration etc etc)) is here -> https://github.com/IBM/customer-loyalty-program/blob/master/web-app/app.js and the 'util' elements such as Identity registration etc https://github.com/IBM/customer-loyalty-program/blob/master/web-app/network/network.js

这篇关于如何将在Hyperledger Composer上开发的应用程序投入生产?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆