Excuse me, how to deploy the laravel project to the server? What about things like
composer? I have no idea at all. Please give me a detailed explanation. I'm a newbie and I'd be very grateful!
phpcn_u15822017-05-16 16:56:28
First install composer, http://www.phpcomposer.com/
Run it in shellcomposer create-project laravel/laravel 你的路径 版本
Give the storage
folder write permissions,
set pseudo-static:
nginx:
location / {
try_files $uri $uri/ /index.php?$query_string;
}
apache:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
曾经蜡笔没有小新2017-05-16 16:56:28
Well, I have been in contact with laravel recently. Let me write about it. The answer is as follows:
Article tutorial:
Server environment setup:/a/1190000002955111
Server deployment laravel: /a/1190000002955120
Video tutorial:
Alibaba Cloud deploys laravel: https://laravist.com/series/something-that-a-little-helpful
composer series video: https://laravist.com/series/you-must-use-composer
Finally, the laravist site I wrote recently uses laravel, so I think I have a little experience.
Above
高洛峰2017-05-16 16:56:28
CentOS7.x build lamp php7 environment and deploy laravel project
There is also [[Video] Deploy LNMP environment in ubuntu under Alibaba Cloud ESC (enable mysql remote and multi-domain name access) and configure laravel project][2]
Deploy LAMP under Ubuntu 14.04 (enable mysql remote and multi-domain name access) and configure the laravel project