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.

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

报告相同问题?

悬赏问题

  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn