运行 Cloud9 上的 Radiant CMS 站点 - 端口错误?
Run Radiant CMS site on Cloud9 - Wrong Port?
我通常 运行 我的 rails 安装在 Cloud9 上,方法是在我的命令行中输入以下行: rails server -b $IP -p $PORT
并将我的环境启动到浏览器中。但是,我刚刚安装了 Radiant CMS,并且这样做不再有效。相反,我被指示执行以下操作:
Your Radiant application is ready to use. Run script/server -e
production
to start the server. Your site will then be running at
http://localhost:3000
所以我 运行 我的终端中的那一行 (script/server -e production),我收到以下信息(而不是获取我的环境):
You may be using the wrong PORT & IP for your server application.
您仍然可以使用以下命令指定端口和 IP:
script/server -e production -b $IP -p $PORT
HTH
我通常 运行 我的 rails 安装在 Cloud9 上,方法是在我的命令行中输入以下行: rails server -b $IP -p $PORT
并将我的环境启动到浏览器中。但是,我刚刚安装了 Radiant CMS,并且这样做不再有效。相反,我被指示执行以下操作:
Your Radiant application is ready to use. Run
script/server -e production
to start the server. Your site will then be running at http://localhost:3000
所以我 运行 我的终端中的那一行 (script/server -e production),我收到以下信息(而不是获取我的环境):
You may be using the wrong PORT & IP for your server application.
您仍然可以使用以下命令指定端口和 IP:
script/server -e production -b $IP -p $PORT
HTH