Slack:有什么方法可以在开发或生产环境中工作?

问题描述 投票:0回答:1

所以,最近我一直在将Slack集成到我的后端中,我注意到它变得很烦人[[super从事开发和/或生产工作。

主要是因为似乎没有一种在环境之间切换的方法,所以我想知道我是否在这里忽略了一些东西。

现在我只创建了MyApp[dev] MyApp并镜像了设置s.t.我可以在本地和生产服务器上测试该应用程序。这意味着所有斜杠命令,它们的常用webhook url,交互式消息webhook url,事件的事件webhook url以及用于安装的其他webhook url等。

非常耗时,但最重要的是:容易出错。

长话短说:我想知道是否有一种更简单的方法来管理Slack应用程序的开发和生产环境。

slack slack-api slack-commands
1个回答
0
投票

不,Slack应用程序不支持正式的“生产”和“开发”环境。

我今天向Slack的支持团队提出了同样的问题,并得到了以下答复:

Hey Alex :wave:, Thank you for taking the time to write in about this. That is exactly right, and you will not be penalized for having both of these apps. Alternatively, you are also given a beta app that you can use for development once your app is on the App Directory but I have found some developers confused with how the updating of settings works so making a separate app is a recommended workaround. I hope that makes sense and good luck with your app launch! Jun | Developer Support

我无法找到Jun提到的“测试版应用程序”的文档,但基于她的描述可能是最好的!无论如何,他们推荐的方法是使用单独的Slack应用程序进行开发。
© www.soinside.com 2019 - 2024. All rights reserved.