简体   繁体   English

在AWS上解析仪表板并添加云代码

[英]Parse Dashboard on AWS and adding cloud code

I configured a parse server on my AWS elastic beanstalk using this guid I've tested it and it all works fine 我已经使用该GUID在我的AWS Elastic Beanstalk上配置了一个解析服务器,并且已经对其进行了测试,并且一切正常
Now I can't find a way to deploy parse dashboard on my server. 现在,我找不到在服务器上部署解析仪表板的方法。
I did deployed parse dashboard on my local host and connected it to the application on server, But this way I cannot manage (Add and remove) my apps. 我确实在本地主机上部署了解析仪表板 ,并将其连接到服务器上的应用程序,但是这种方式无法管理(添加和删除)我的应用程序。 Another problem is that parse dashboard missing cloud code on default, I found this on git, but I cant understand where do I add the requested endpoints, is it something like adding app.use('/scripts', express.static(path.join(__dirname, '/scripts'))); 另一个问题是,默认情况下解析仪表板缺少的云代码,我在git上找到了 ,但我不明白我在哪里添加请求的端点,就像添加app.use('/scripts', express.static(path.join(__dirname, '/scripts'))); on the index.js file? 在index.js文件上?

in order to deploy parse-dashboard to your EC2 you need to follow the Deploying Parse Dashboard section in parse-dashboard github page 为了将parse-dashboard部署到EC2,您需要遵循parse-dashboard github页面中的Deploying Parse Dashboard部分。

parse-dashbard github page parse-dashbard github页面

Please make sure that when you deploy parse-dashboard you are using https and also basic authentication (it is also part of the guide) 请确保在部署parse-dashboard时使用的是https和基本身份验证(这也是指南的一部分)

Now regarding the cloud code: the ability to deploy cloud code via parse CLI and to view the nodejs code in parse dashboard are not available in parse-server but those are parse.com features. 现在有关云代码:通过parse CLI部署云代码以及在parse仪表板中查看nodejs代码的功能在parse-server中不可用,但这些是parse.com功能。 Cloud code in parse-server is handled by modifying the main.js file which exist under the cloud folder and deployment should be done manually by you but the big advantage in parse-server cloud code is that you can use any NodeJS module that you want from there and you are not restricted to the modules that were used by parse.com . 解析服务器中的云代码是通过修改存在于云文件夹下的main.js文件来处理的,部署应由您手动完成,但解析服务器云代码的最大优势是您可以使用所需的任何NodeJS模块从那里开始,您将不受限于parse.com使用的模块。

Another point about the dashboard. 关于仪表板的另一点。 What you can do is to create an express application and then add parse-server and parse-dashboard as a middleware to your express application and deploy the whole application to AWS and then you can enjoy both parse-server (that will be available under the /parse path, unless you changed it to something else) and parse dashboard that will be available under the /dashboard path 您可以做的是创建一个快速应用程序,然后将parse-server和parse-dashboard作为中间件添加到您的快速应用程序中,然后将整个应用程序部署到AWS,然后您可以同时使用这两个parse-server(在/ parse路径,除非您将其更改为其他名称),然后解析/ dashboard路径下可用的仪表板

Enjoy :) 请享用 :)

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

相关问题 AWS Bitnami Parse Server - 添加HTTP身份验证使我的应用程序在解析仪表板中“未经授权” - AWS Bitnami Parse Server - Adding HTTP authentication makes my apps in parse dashboard 'unauthorized' AWS托管的解析服务器找不到云代码 - AWS Hosted Parse-server can't find cloud code 如何在带有 bitnami 和 AWS 的解析服务器上使用云代码 - How to use cloud code on parse server with bitnami and AWS 如何在AWS托管的Parse服务器上部署云代码 - How to deploy cloud code on AWS hosted Parse server 如何将我的云代码部署到AWS Elastic Beanstalk? (解析服务器) - How could i deploy my Cloud Code to AWS Elastic Beanstalk? (Parse Server) 无法在AWS(Amazon Web Service)上登录解析仪表板 - Can't login parse dashboard on AWS (amazon web service) 在亚马逊aws Elastic beantalk上安装解析仪表板(或本地安装) - installing parse dashboard on amazon aws elastic beanstalk (or locally?) AWS parse-server仪表板上的过去推送未显示/连接 - Past Pushes on AWS parse-server dashboard not showing/connecting 如何自动化将云监视图表添加到仪表板的过程? - How to automate the process of adding cloud watch graphs to dashboard? 在 AWS Lambda 中运行云形成代码? 这可能吗? - Running cloud formation code in AWS Lambda? Is this possible?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM