如何使用Parse.com Cloud Code

时间:2015-10-17 11:57:28

标签: angularjs parse-platform cloud-code

我的简单AngularJS应用程序如下所示:

angularApp
    |___lib
    |___scripts
    |       |___app.js
    |       |___controller1.js
    |___styles
    |___index.html
    |___view1.html

它使用webStorm在我的系统上运行本地...

现在我的问题是,我必须这样做,我的angularApp将在Parse Cloud Code上在线运行?
请有人向我展示一个简单的示例,或者给我一个粗略的计划,说明如何使用Parse Cloud Code设置一个简单的AngularJS应用程序......

我已成功部署在Parse Cloud Code上的HelloWorld示例,它已在线!:-) 但是我的AngularJS应用程序没有在Parse Cloud Code上运行,不知何故我没有真正的计划我要做什么... :-(
我搜索的例子不成功!

1 个答案:

答案 0 :(得分:1)

OMG,它很容易...... 我只需要导航到解析云代码项目的公共文件夹并粘贴我的AngularJS项目文件。

然后它看起来像这样:

Cloud Directory
    |___cloud
    |___public
          |___lib
          |___scripts
          |      |___app.js
          |      |___controller1.js
          |___styles
          |___index.html
          |___view1.html

最后'解析部署'并且它有效...... :-) OMG太简单了! ^^