GitHub上的ParsePlatform上的Parse-server和Parse-server-example有什么不同? [英] What is the different between Parse-server and Parse-server-example on ParsePlatform on GitHub?

查看:457
本文介绍了GitHub上的ParsePlatform上的Parse-server和Parse-server-example有什么不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



部署到Heroku和MongoLab的Heroku指南使用Parse -server-example,而ParseServer维基提到克隆Parse-server。特别是,Parse-server存储库不包含作为云功能文件的cloud \main.js文件。



如果我想运行ParseServer在本地还是在AWS上,我应该使用哪一个?它们之间有什么不同?

解决方案

你应该克隆parse-server-example,因为它听起来像你需要一个启动项目在本地运行。然后,您可以开始将您现有的Parse代码添加到此新项目中。

parse-server存储库包含Parse Server npm包的源代码,通过parse-server-example来运行服务器。


I am doing migration from my Parse hosted applications to ParseServer running on AWS or Heroku slowly.

The Heroku "guide to deploy to Heroku and MongoLab" uses "Parse-server-example" on GitHub while the ParseServer wiki mentions cloning "Parse-server" instead. In particular, "Parse-server" repository does not contain the "cloud\main.js" file which is the cloud function file.

If I want to run ParseServer locally or on AWS, which one of those two should I use? What are the differences between them?

解决方案

You should clone the "parse-server-example" since it sounds like you need a starter project to run locally. Then you can start adding your existing Parse code to this new project.

The "parse-server" repository contains the source code for the Parse Server npm package, which is used by the "parse-server-example" to run a server.

这篇关于GitHub上的ParsePlatform上的Parse-server和Parse-server-example有什么不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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