简体   繁体   English

通过PhoneGap部署Ember App Kit应用程序

[英]Deploy Ember App Kit App via PhoneGap

How can I deploy an App developed on Ember App Kit through a PhoneGap wrapper? 如何通过PhoneGap包装器部署在Ember App Kit上开发的应用程序?

It was suggested that this is the way to go here and that doing so would be trivial but I can find no documentation on how this could be achieved. 有人建议是去这里的方式,这样做是微不足道的,但我找不到如何实现这一目标的文件。

Have used https://build.phonegap.com/ with emberjs apps plenty of times and works nicely. 已经使用https://build.phonegap.com/与emberjs应用程序很多次并且运行良好。

Once you have your emberjs app running just follow the steps mentioned in build.phonegap. 运行emberjs应用程序后,只需按照build.phonegap中提到的步骤操作即可。 Simply archive your application containing index and resource files to a zip file and upload. 只需将包含indexresource文件的应用程序归档到zip文件并上传即可。

Regarding the packaging a quick approach is to download a demo phonegap app https://github.com/phonegap/phonegap-app-hello-world place the emberjs dist files (for quick access just use the results from an http://emberjs.jsbin.com/ ) in a folder along with the contents from the www folder of the demo app (to be honest i actually removed the original js and spec folders found inside the demo app). 关于包装,一个快速的方法是下载一个演示phonegap应用程序https://github.com/phonegap/phonegap-app-hello-world放置emberjs dist文件(快速访问只使用http:// emberjs的结果) .jsbin.com / )在一个文件夹中以及演示应用程序的www文件夹中的内容(说实话,我实际上删除了在演示应用程序中找到的原始js和spec文件夹)。 Create a zip file and upload it for build at phonegap. 创建一个zip文件并将其上传到phonegap进行构建。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM