将meteor应用程序部署到Intranet

时间:2015-06-02 18:42:00

标签: node.js apache meteor redhat

我需要一些帮助来部署我在我们的工作INTRANET服务器上制作的这个流星应用程序。我捆绑了应用程序以使其成为节点应用程序并将节点,npm和mongodb安装到Intranet服务器上。当我使用

设置环境变量时
export PORT=3000
export MONGO_URL=mongodb://localhost:27017/databasename
export ROOT_URL=http://localhost:3000
npm install
node bundle/main.js

我得到一个空白的网页。在Apache中我在/etc/httpd/conf/httpd.conf中设置了一个虚拟主机,如

<VirtualHost *:80>
    ServerName servername.dcn
    ProxyRequests Off
    ProxyPreserveHost On
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyPass /timesheet http://localhost:3000/
< /VirtualHost>

为什么我只得到一个简单的空白页而不是应用程序的任何想法?谢谢你的任何建议。

0 个答案:

没有答案
相关问题