ikartik90
ikartik90

Reputation: 2815

Deploy Laravel application on OpenShift

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.

Upvotes: 2

Views: 3112

Answers (1)

luciddreamz
luciddreamz

Reputation: 2093

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.

Upvotes: 3

Related Questions