如何在 dotcloud 上使用 psgi 部署 bugzilla?

发布于 2024-12-20 09:11:16 字数 365 浏览 1 评论 0原文

我想在dotcloud上部署bugzilla,但是perl环境是psgi。

doc 说我必须使用“将 PSGI 挂钩添加到旧版 CGI 或 FastCGI 应用程序的模块”。

我发现 CGI::Emulate:: PSGI 模块但无法弄清楚如何做到这一点。

我是一名 Python 程序员,没有 Perl 经验。

I want to deploy bugzilla on dotcloud, but the perl environment is psgi.

The doc said I must use "modules to add PSGI hooks to legacy CGI or FastCGI applications".

I found CGI::Emulate::PSGI module but could not figure out how to do it.

I am a Python programmer and have no experience in Perl.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

身边 2024-12-27 09:11:16

我在本地 openSUSE 上使用 bugzilla-4.0.2 取得了部分成功。我认为 Bugzilla 短期内不适合云部署,因为它需要大量的手动设置。按照 docs/en/html/index.html 中引用的说明进行操作,然后运行

plackup -MPlack::App::CGIBin -e'Plack::App::CGIBin->new(root => ".")->to_app'

并访问 http://localhost:5000/index.cgi。静态文件丢失,例如样式表。类似于 的东西

plackup -MPlack::Builder -MPlack::App::Directory -MPlack::App::CGIBin -e 'builder {
    mount "/" => Plack::App::CGIBin->new(root => ".")->to_app;
    mount "/" => Plack::App::Directory->new({ root => "." })->to_app;
}'

是必要的,但是安装到相同的路径实际上在 Plack 0.9985 中不起作用,或者我做错了。

I had partial success with bugzilla-4.0.2 on a local openSUSE. I don't think Bugzilla will be suitable for cloud deployment in the short term because of its large amount of manual setup necessary. Follow the instructions referenced from docs/en/html/index.html, then run

plackup -MPlack::App::CGIBin -e'Plack::App::CGIBin->new(root => ".")->to_app'

and visit http://localhost:5000/index.cgi. The static files are missing, e.g. stylesheets. Something like along the lines of

plackup -MPlack::Builder -MPlack::App::Directory -MPlack::App::CGIBin -e 'builder {
    mount "/" => Plack::App::CGIBin->new(root => ".")->to_app;
    mount "/" => Plack::App::Directory->new({ root => "." })->to_app;
}'

is necessary, but mounting to the same path actually does not work in Plack 0.9985, or I'm doing it wrong.

睫毛上残留的泪 2024-12-27 09:11:16

我没有尝试过,但这听起来像你想要的。其 bugzila 部署到云 stackato。
您可以加入 Stackato,然后部署 bugzilla 示例。
https://github.com/Stackato-Apps/bugzilla

I did not try it but This sounds like what you want. Its bugzila deployed to a cloud stackato.
You can join Stackato then deploy the bugzilla sample.
https://github.com/Stackato-Apps/bugzilla

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文