【发布时间】:2016-12-11 19:31:01
【问题描述】:
将 html 文件上传到云中的程序是什么。我尝试使用 predix 邮件链接。但是给出了错误 403。任何人都可以使用 predix 平台链接将 html 文件上传到云中。请务必完整。
【问题讨论】:
将 html 文件上传到云中的程序是什么。我尝试使用 predix 邮件链接。但是给出了错误 403。任何人都可以使用 predix 平台链接将 html 文件上传到云中。请务必完整。
【问题讨论】:
hello world 是一个 html 文件。请试试这个。 https://www.predix.io/resources/tutorials/journey.html#1719
您可以在您的微服务中提供您推送到云端的文件。请参阅 Spring Boot 文档中的其余端点 /static。尝试微服务模板项目以获得一些想法 https://www.predix.io/resources/tutorials/tutorial-details.html?tutorial_id=1523&tag=1719&journey=Hello%20World&resources=1475,1569,1523
【讨论】:
我收集了不同语言的 Predix.io 应用程序,包括静态 HTML、Angular、Java 甚至 Scala 等。
请看
https://github.com/SVyatkin/CF-Hello-World-examples
根据您关于 HTML 的问题,它在集合中以及仅使用
https://github.com/SVyatkin/CF-Hello-World-examples/tree/master/hello-html
$ git clone https://github.com/SVyatkin/CF-Hello-World-examples.git
$ cd CF-Hello-World-examples/hello-html
$ cf push -m 128M -b predix_openresty_buildpack html-hello
$ curl https://html-hello.run.aws-usw02-pr.ice.predix.io returns "HTML Predix.io - Hello World Example"
【讨论】: