dongou3158 2015-04-04 19:50
浏览 103
已采纳

在OpenShift上部署Laravel应用程序

I have git pushed my entire Laravel code base for the application that I had created on my localhost to my OpenShift server. But nothing seems to have come out of it. The webpage is still blank. Can someone tell me what changes to make to the application settings so that it gets deployed properly?

I have deployed it at befikrin-befikrin.rhcloud.com.

Can someone please check and let me know what I might be doing wrong here?

While I was running the project on my localhost I has deployed it using:

php -S localhost:8888 -t public

Do I need to do something on similar lines here?

Update 1

I tried fetching the logs with rhc tail but got the following message:

You can tail this application directly with:
ssh -t <MY_SSH_URL> 'tail */log*/*'
Could not parse PKey: no start line
Usage: rhc tail <application>
Pass '--help' to see the full list of options

Then I tried it with the ssh -t... command suggested above, and this time I got this:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Any help at this moment would go a great way as I have been trying to deploy it since yesterday with no avail.

  • 写回答

1条回答 默认 最新

  • douzhaiya3968 2015-04-05 16:18
    关注

    The Laravel 5.0 and Laravel 4.2 QuickStarts exist for a reason. I STRONGLY recommend using them as a starting point for your Laravel application on OpenShift unless you're VERY familiar with both Laravel and OpenShift Online.

    Deploy one of the QuickStarts below and port your existing application code over:

    If you run into trouble contact OpenShift via our help site and mention @luciddreamz sent you in the comments.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 matlab计算中误差
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊