简体   繁体   English

如何在没有 root 访问 Apache 的情况下部署 Pinax?

[英]How to deploy Pinax without root Access to Apache?

I tried Pinax, and it works great on my local machine, but how do I deploy it to my webhost server?我尝试了 Pinax,它在我的本地机器上运行良好,但如何将它部署到我的虚拟主机服务器? I will not have root access to the server, and can not change APACHE server's config.我将没有对服务器的 root 访问权限,也无法更改 APACHE 服务器的配置。 I can only edit .htaccess file, will that be enough for Pinax deployment?我只能编辑 .htaccess 文件,这对于 Pinax 部署是否足够? ChengLong成龙

Check out:查看:

http://pinaxproject.com/docs/dev/deployment/ http://pinaxproject.com/docs/dev/deployment/

In short:简而言之:

  • Create a local_settings.py alongside settings.py for your host-specific settings (like database connection, e-mail, etc).在 settings.py 旁边为您的主机特定设置(如数据库连接、电子邮件等)创建一个 local_settings.py。
  • Configure mod_wsgi.配置 mod_wsgi。
  • Set up cron job for mailer and asynchronous notifications.为邮件程序和异步通知设置 cron 作业。

OR或者

You could check out http://gondor.io and stop worry about all this server configuration stuff.您可以查看http://gondor.io并停止担心所有这些服务器配置问题。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM