D
D
dk-web2016-03-10 21:15:10
Laravel
dk-web, 2016-03-10 21:15:10

Transferring a laravel site to hosting?

Hello. The question seems to be simple, but I could not find a clear tutorial or answer.
Given - hosting Majordomo in my case (not advertising). Accordingly, the folder structure in ftp is domainru/www where I usually upload everything ... I don’t have public_html which are often mentioned ... I don’t know shared or vps hosting (
Nevertheless, I need to transfer my project to an existing hosting ..
Stupidly copy Do
I need to install composera, composer update or do any other sacred spells?
.htaccess?
what to change in .env except for the database password?
There is an article by Pete Houston like, but it broke on the line
ln -s /Users/petehouston/project /public/Users/petehouston/www
I would be grateful for a Russian manual ... well, or just briefly explain what, where and how ...
I'm sure the answer will be in the top of searches ... I spent a decent amount of time ..
Thank you!
upd.6d8399f5c85f40168d7a04a731ccb220.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Goryachev, 2016-03-10
@dk-web

The site can be transferred to hosting. You don't need a composer for this.
But without access to the Apache config, you can’t really set the path correctly.
In your case, you need to upload all the files to the folder you are used to - www/
And in the Apache config, write the path instead of www/ - www/public/

D
Dmitry Kuznetsov, 2016-03-10
@dima9595

As far as I know, a site built on Laravel cannot be transferred to a simple hosting. For all paths to work, I need Apache 2 / NGINX settings, and this is available only with full control of the settings. Also, you can’t install Composer on a simple hosting, which is very necessary in my opinion.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question